]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commitdiff
Use GLES extension for more rendertargets uis/gles2
authoruis <uis9936@gmail.com>
Sat, 3 Aug 2024 20:35:11 +0000 (23:35 +0300)
committeruis <uis9936@gmail.com>
Sat, 3 Aug 2024 20:35:36 +0000 (23:35 +0300)
glquake.h

index 18d96939ee7e1f4cd94b8f22274c241e16cc0582..9de45cfc2e274cb7e13cb0bf98660cff61447766 100644 (file)
--- a/glquake.h
+++ b/glquake.h
@@ -1040,6 +1040,9 @@ extern void (GLAPIENTRY *qglViewport)(GLint x, GLint y, GLsizei width, GLsizei h
 #define GL_RGBA16F GL_RGBA16F_EXT
 #define GL_RGBA32F GL_RGBA32F_EXT
 #define GL_HALF_FLOAT GL_HALF_FLOAT_OES
+#define GL_COLOR_ATTACHMENT1 GL_COLOR_ATTACHMENT1_NV
+#define GL_COLOR_ATTACHMENT2 GL_COLOR_ATTACHMENT2_NV
+#define GL_COLOR_ATTACHMENT3 GL_COLOR_ATTACHMENT3_NV
 #endif //USE_GLES2