diff options
-rw-r--r-- | lib/dds.c | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -6,7 +6,7 @@ #include <GL/glu.h> #include <GL/glext.h> // Your local header file -PFNGLCOMPRESSEDTEXIMAGE2DARBPROC glCompressedTexImage2DARB; +//PFNGLCOMPRESSEDTEXIMAGE2DARBPROC glCompressedTexImage2DARB; #define MAKEFOURCC(ch0, ch1, ch2, ch3) \ ((uint32_t)(uint8_t)(ch0) | ((uint32_t)(uint8_t)(ch1) << 8) | \ @@ -308,14 +308,14 @@ int ddsInit() { } else { - glCompressedTexImage2DARB = (PFNGLCOMPRESSEDTEXIMAGE2DARBPROC)glxGetProcAddress("glCompressedTexImage2DARB"); +// glCompressedTexImage2DARB = (PFNGLCOMPRESSEDTEXIMAGE2DARBPROC)glxGetProcAddress("glCompressedTexImage2DARB"); - if( !glCompressedTexImage2DARB ) - { +// if( !glCompressedTexImage2DARB ) +// { // MessageBox(NULL,"One or more ARB_texture_compression functions were not found", // "ERROR",MB_OK|MB_ICONEXCLAMATION); - return -2; - } +// return -2; +// } } return 0; |