fix compile error with gcc

This commit is contained in:
rdb 2013-09-01 12:40:56 +00:00
parent 8992801b24
commit 324aacfbaa

View File

@ -585,10 +585,9 @@ get_extra_extensions() {
void *wglGraphicsStateGuardian::
do_get_extension_func(const char *prefix, const char *name) {
string fullname = string(prefix) + string(name);
return wglGetProcAddress(fullname.c_str());
return (void*) wglGetProcAddress(fullname.c_str());
}
////////////////////////////////////////////////////////////////////
// Function: wglGraphicsStateGuardian::make_context
// Access: Private