filename | src/pvr2/glutil.h |
changeset | 1287:dac8f363f1fe |
prev | 1282: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 +10001.2 +++ b/src/pvr2/glutil.h Sun Jul 01 13:20:34 2012 +10001.3 @@ -156,6 +156,20 @@1.4 /* Convenience formatting function for driver use */1.5 void fprint_extensions( FILE *out, const char *extensions );1.7 +/****** Texture formats (missing definitions) *****/1.8 +1.9 +#ifndef GL_UNSIGNED_SHORT_4_4_4_4_REV1.10 +#define GL_UNSIGNED_SHORT_4_4_4_4_REV 0x83651.11 +#endif1.12 +1.13 +#ifndef GL_UNSIGNED_SHORT_1_5_5_5_REV1.14 +#define GL_UNSIGNED_SHORT_1_5_5_5_REV 0x83661.15 +#endif1.16 +1.17 +#ifndef GL_BGRA1.18 +#define GL_BGRA 0x80E11.19 +#endif1.20 +1.21 #ifdef __cplusplus1.22 }1.23 #endif
.