Search
lxdream.org :: lxdream/src/pvr2/glutil.h :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/pvr2/glutil.h
changeset 1287:dac8f363f1fe
prev1282:9f445c5e252b
author nkeynes
date Sun Jul 01 13:20:34 2012 +1000 (8 years ago)
permissions -rw-r--r--
last change Add support for Nokia N900
- Generic support for EGL with GTK
- Workaround for nokia bug with egl config
Based on patch from guinux, thanks!
file annotate diff log raw
1.1 --- a/src/pvr2/glutil.h Tue Mar 27 08:23:52 2012 +1000
1.2 +++ b/src/pvr2/glutil.h Sun Jul 01 13:20:34 2012 +1000
1.3 @@ -156,6 +156,20 @@
1.4 /* Convenience formatting function for driver use */
1.5 void fprint_extensions( FILE *out, const char *extensions );
1.6
1.7 +/****** Texture formats (missing definitions) *****/
1.8 +
1.9 +#ifndef GL_UNSIGNED_SHORT_4_4_4_4_REV
1.10 +#define GL_UNSIGNED_SHORT_4_4_4_4_REV 0x8365
1.11 +#endif
1.12 +
1.13 +#ifndef GL_UNSIGNED_SHORT_1_5_5_5_REV
1.14 +#define GL_UNSIGNED_SHORT_1_5_5_5_REV 0x8366
1.15 +#endif
1.16 +
1.17 +#ifndef GL_BGRA
1.18 +#define GL_BGRA 0x80E1
1.19 +#endif
1.20 +
1.21 #ifdef __cplusplus
1.22 }
1.23 #endif
.