summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKeith Whitwell <[email protected]>2005-04-29 15:37:27 +0000
committerKeith Whitwell <[email protected]>2005-04-29 15:37:27 +0000
commita6ebcdfe7d577073212e1b2b4889a63cd98802c4 (patch)
treee8c39a9beae79a0e83abf68e3ec2b1ad1f1e9f6b
parent2c19069182ff5919ef2322d70e007a33c87d2b93 (diff)
Remove redundant #ifdef, fix compiler warning
-rw-r--r--src/mesa/drivers/fbdev/glfbdev.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/mesa/drivers/fbdev/glfbdev.c b/src/mesa/drivers/fbdev/glfbdev.c
index 9cf0be0e16b..76736fe6d8c 100644
--- a/src/mesa/drivers/fbdev/glfbdev.c
+++ b/src/mesa/drivers/fbdev/glfbdev.c
@@ -40,8 +40,6 @@
*/
-#ifdef USE_GLFBDEV_DRIVER
-
#include "glheader.h"
#include <linux/fb.h>
#include "GL/glfbdev.h"
@@ -328,7 +326,7 @@ glFBDevGetProcAddress( const char *procName )
return entry->func;
}
}
- return _glapi_get_proc_address(procName);
+ return (const void *)_glapi_get_proc_address(procName);
}
@@ -797,5 +795,4 @@ glFBDevMakeCurrent( GLFBDevContextPtr context,
return 1;
}
-#endif /* USE_GLFBDEV_DRIVER */