- Fix build
- Use canonical patch filenames
This commit is contained in:
parent
5131ed46e5
commit
534caa166b
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=365287
2 changed files with 11 additions and 0 deletions
11
games/warzone2100/files/patch-lib__ivis_opengl__screen.cpp
Normal file
11
games/warzone2100/files/patch-lib__ivis_opengl__screen.cpp
Normal file
|
@ -0,0 +1,11 @@
|
|||
--- lib/ivis_opengl/screen.cpp.orig 2013-12-12 06:20:34.000000000 +0400
|
||||
+++ lib/ivis_opengl/screen.cpp 2014-08-18 16:11:06.000000000 +0400
|
||||
@@ -261,7 +261,7 @@
|
||||
__glewUseProgram = __glewUseProgramObjectARB;
|
||||
__glewGetShaderiv = __glewGetObjectParameterivARB;
|
||||
__glewLinkProgram = __glewLinkProgramARB;
|
||||
- __glewShaderSource = __glewShaderSourceARB;
|
||||
+ __glewShaderSource = reinterpret_cast<PFNGLSHADERSOURCEPROC>(__glewShaderSourceARB);
|
||||
__glewUniform1f = __glewUniform1fARB;
|
||||
__glewUniform1i = __glewUniform1iARB;
|
||||
__glewUniform4fv = __glewUniform4fvARB;
|
Loading…
Reference in a new issue