summaryrefslogtreecommitdiff
path: root/Source/Core/VideoBackends/OGL/GLExtensions/GLExtensions.cpp
diff options
context:
space:
mode:
authorShawn Hoffman <godisgovernment@gmail.com>2015-03-15 19:28:47 -0700
committerShawn Hoffman <godisgovernment@gmail.com>2015-03-15 19:28:47 -0700
commitad64336137013a823c212e4e491dbb435aa11e5f (patch)
tree8ff42798b3298b3c9123824b801fad0230425820 /Source/Core/VideoBackends/OGL/GLExtensions/GLExtensions.cpp
parent7cda374910ffa9fc9680035ea77083b1cc0d14d9 (diff)
quiet some warnings which appear on vs2015.
quieted warnings include shadowed variable names and integer extensions.
Diffstat (limited to 'Source/Core/VideoBackends/OGL/GLExtensions/GLExtensions.cpp')
-rw-r--r--Source/Core/VideoBackends/OGL/GLExtensions/GLExtensions.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/VideoBackends/OGL/GLExtensions/GLExtensions.cpp b/Source/Core/VideoBackends/OGL/GLExtensions/GLExtensions.cpp
index 296cbfc3cb..393cb0d404 100644
--- a/Source/Core/VideoBackends/OGL/GLExtensions/GLExtensions.cpp
+++ b/Source/Core/VideoBackends/OGL/GLExtensions/GLExtensions.cpp
@@ -1912,7 +1912,7 @@ namespace GLExtensions
*func = dlsym(RTLD_NEXT, name.c_str());
#endif
if (*func == nullptr && _isES)
- *func = (void*)0xFFFFFFFF; // Easy to determine invalid function, just so we continue on
+ *func = (void*)(uintptr_t)0xFFFFFFFF; // Easy to determine invalid function, just so we continue on
if (*func == nullptr)
ERROR_LOG(VIDEO, "Couldn't load function %s", name.c_str());
}