mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-02 18:03:56 -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::
|
void *wglGraphicsStateGuardian::
|
||||||
do_get_extension_func(const char *prefix, const char *name) {
|
do_get_extension_func(const char *prefix, const char *name) {
|
||||||
string fullname = string(prefix) + string(name);
|
string fullname = string(prefix) + string(name);
|
||||||
return wglGetProcAddress(fullname.c_str());
|
return (void*) wglGetProcAddress(fullname.c_str());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////
|
||||||
// Function: wglGraphicsStateGuardian::make_context
|
// Function: wglGraphicsStateGuardian::make_context
|
||||||
// Access: Private
|
// Access: Private
|
||||||
|
Loading…
x
Reference in New Issue
Block a user