mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 18:42:12 +08:00
14 lines
613 B
Diff
14 lines
613 B
Diff
diff --git a/lib/ivis_opengl/screen.cpp b/lib/ivis_opengl/screen.cpp
|
|
index d240a63..861265d 100644
|
|
--- a/lib/ivis_opengl/screen.cpp
|
|
+++ b/lib/ivis_opengl/screen.cpp
|
|
@@ -261,7 +261,7 @@ void screen_EnableMissingFunctions()
|
|
__glewUseProgram = __glewUseProgramObjectARB;
|
|
__glewGetShaderiv = __glewGetObjectParameterivARB;
|
|
__glewLinkProgram = __glewLinkProgramARB;
|
|
- __glewShaderSource = __glewShaderSourceARB;
|
|
+ __glewShaderSource = (PFNGLSHADERSOURCEPROC) __glewShaderSourceARB;
|
|
__glewUniform1f = __glewUniform1fARB;
|
|
__glewUniform1i = __glewUniform1iARB;
|
|
__glewUniform4fv = __glewUniform4fvARB;
|