From 4d024066bfe998dcfeb868c4983fc0eb305998b9 Mon Sep 17 00:00:00 2001 From: pixel Date: Tue, 17 Jul 2007 03:32:22 +0000 Subject: Removing usage of external symbol. --- lib/dds.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'lib/dds.c') 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 #include // 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; -- cgit v1.2.3