Search
lxdream.org :: lxdream/src/pvr2/glutil.h :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/pvr2/glutil.h
changeset 1223:61684ca88599
prev1222:a4545699a82b
next1236:d93175c36387
author nkeynes
date Wed Feb 15 18:09:02 2012 +1000 (8 years ago)
permissions -rw-r--r--
last change Add extension wrangling for max colour attachments
file annotate diff log raw
1.1 --- a/src/pvr2/glutil.h Wed Feb 15 17:54:51 2012 +1000
1.2 +++ b/src/pvr2/glutil.h Wed Feb 15 18:09:02 2012 +1000
1.3 @@ -54,6 +54,7 @@
1.4 gboolean isGLPixelBufferSupported();
1.5 gboolean isGLMultitextureSupported();
1.6 gboolean isGLMirroredTextureSupported();
1.7 +GLint glGetMaxColourAttachments();
1.8
1.9 /****** Extension variant wrangling *****/
1.10
1.11 @@ -89,6 +90,10 @@
1.12 #define GL_DEPTH_ATTACHMENT GL_DEPTH_ATTACHMENT_EXT
1.13 #endif
1.14
1.15 +#if defined(GL_DEPTH_COMPONENT24_OES) && !defined(GL_DEPTH_COMPONENT24)
1.16 +#define GL_DEPTH_COMPONENT24 GL_DEPTH_COMPONENT24_OES
1.17 +#endif
1.18 +
1.19 #ifndef GL_DEPTH24_STENCIL8
1.20 #if defined(GL_DEPTH24_STENCIL8_EXT)
1.21 #define GL_DEPTH24_STENCIL8 GL_DEPTH24_STENCIL8_EXT
.