mirror of
https://github.com/XProger/OpenLara.git
synced 2025-08-13 16:44:50 +02:00
#15 fix linux build
This commit is contained in:
@@ -210,7 +210,9 @@
|
||||
|
||||
#if defined(_OS_WIN) || defined(_OS_LINUX)
|
||||
PFNGLGENERATEMIPMAPPROC glGenerateMipmap;
|
||||
PFNGLTEXIMAGE3DPROC glTexImage3D;
|
||||
#ifdef _OS_WIN
|
||||
PFNGLTEXIMAGE3DPROC glTexImage3D;
|
||||
#endif
|
||||
// Profiling
|
||||
#ifdef PROFILE
|
||||
PFNGLOBJECTLABELPROC glObjectLabel;
|
||||
@@ -1007,7 +1009,9 @@ namespace GAPI {
|
||||
|
||||
#if defined(_OS_WIN) || defined(_OS_LINUX)
|
||||
GetProcOGL(glGenerateMipmap);
|
||||
GetProcOGL(glTexImage3D);
|
||||
#ifdef _OS_WIN
|
||||
GetProcOGL(glTexImage3D);
|
||||
#endif
|
||||
|
||||
#ifdef PROFILE
|
||||
GetProcOGL(glObjectLabel);
|
||||
|
Reference in New Issue
Block a user