Remove redundant #ifdef, fix compiler warning
authorKeith Whitwell <keith@tungstengraphics.com>
Fri, 29 Apr 2005 15:37:27 +0000 (15:37 +0000)
committerKeith Whitwell <keith@tungstengraphics.com>
Fri, 29 Apr 2005 15:37:27 +0000 (15:37 +0000)
src/mesa/drivers/fbdev/glfbdev.c

index 9cf0be0e16bacbd8d1ef96de970359feb05560a7..76736fe6d8c2b69056abf839da8ab7b43542c420 100644 (file)
@@ -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 */