mirror of
https://github.com/ZDoom/raze-gles.git
synced 2025-01-11 10:40:47 +00:00
Get the glTexImage3D function pointer from the ICD, not from dlsym/GetProcAddress. This fixes OpenGL on Windows since opengl32.dll only has version 1.1 symbols.
git-svn-id: https://svn.eduke32.com/eduke32@1747 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
1467c7b0b6
commit
b3231e5c9b
1 changed files with 1 additions and 1 deletions
|
@ -432,7 +432,6 @@ int32_t loadgldriver(const char *driver)
|
|||
bglDeleteTextures = GETPROC("glDeleteTextures");
|
||||
bglBindTexture = GETPROC("glBindTexture");
|
||||
bglTexImage2D = GETPROC("glTexImage2D");
|
||||
bglTexImage3D = GETPROC("glTexImage3D");
|
||||
bglCopyTexImage2D = GETPROC("glCopyTexImage2D");
|
||||
bglCopyTexSubImage2D= GETPROC("glCopyTexSubImage2D");
|
||||
bglTexSubImage2D = GETPROC("glTexSubImage2D");
|
||||
|
@ -484,6 +483,7 @@ int32_t loadglextensions(void)
|
|||
if (!hGLDLL) return 0;
|
||||
#endif
|
||||
|
||||
bglTexImage3D = GETPROCEXTSOFT("glTexImage3D");
|
||||
bglCompressedTexImage2DARB = GETPROCEXTSOFT("glCompressedTexImage2DARB");
|
||||
bglGetCompressedTexImageARB = GETPROCEXTSOFT("glGetCompressedTexImageARB");
|
||||
|
||||
|
|
Loading…
Reference in a new issue