libgoatvr
diff src/opengl.c @ 10:61feb3661397
windows build fix + new project file for the example
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Sat, 20 Sep 2014 20:12:00 +0300 |
parents | d12592558809 |
children | 1a8343ea54ce |
line diff
1.1 --- a/src/opengl.c Sat Sep 20 16:52:42 2014 +0300 1.2 +++ b/src/opengl.c Sat Sep 20 20:12:00 2014 +0300 1.3 @@ -23,7 +23,7 @@ 1.4 1.5 void (*vrimp_glfunc(const char *name))() 1.6 { 1.7 - return wglGetProcAddress(name); 1.8 + return (void (*)())wglGetProcAddress(name); 1.9 } 1.10 #endif /* WIN32 */ 1.11