summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpixel <pixel>2007-07-17 03:32:22 +0000
committerpixel <pixel>2007-07-17 03:32:22 +0000
commit4d024066bfe998dcfeb868c4983fc0eb305998b9 (patch)
treea92996164099aef111f7488ffc5b496fc4911e2b
parent09147e9d4d10f609a7f288b35fa7f86b7e011e8a (diff)
Removing usage of external symbol.
-rw-r--r--lib/dds.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/dds.c b/lib/dds.c
index 4263bf0..019ae36 100644
--- a/lib/dds.c
+++ b/lib/dds.c
@@ -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;