mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-30 08:44:19 -04:00
fix compile error with gcc
This commit is contained in:
parent
8992801b24
commit
324aacfbaa
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user