Allow building the game engine with core profile
Note: This is not about functionality, but about using the same stub file we are using in Blender for the game engine.
This commit is contained in:
parent
d58310fe37
commit
bde45b5ae7
|
@ -579,10 +579,6 @@ if(NOT WITH_GAMEENGINE AND WITH_PLAYER)
|
|||
message(FATAL_ERROR "WITH_PLAYER requires WITH_GAMEENGINE")
|
||||
endif()
|
||||
|
||||
if(WITH_GAMEENGINE AND NOT WITH_LEGACY_OPENGL)
|
||||
message(FATAL_ERROR "WITH_GAMEENGINE requires WITH_LEGACY_OPENGL")
|
||||
endif()
|
||||
|
||||
if(NOT WITH_AUDASPACE)
|
||||
if(WITH_OPENAL)
|
||||
message(FATAL_ERROR "WITH_OPENAL requires WITH_AUDASPACE")
|
||||
|
|
|
@ -40,7 +40,7 @@
|
|||
# pragma warning (disable:4786)
|
||||
#endif
|
||||
|
||||
#include "glew-mx.h"
|
||||
#include "GPU_glew.h"
|
||||
|
||||
#include "KX_BlenderCanvas.h"
|
||||
#include "KX_BlenderKeyboardDevice.h"
|
||||
|
|
|
@ -29,7 +29,7 @@
|
|||
* \ingroup blroutines
|
||||
*/
|
||||
|
||||
#include "glew-mx.h"
|
||||
#include "GPU_glew.h"
|
||||
|
||||
#include "MEM_guardedalloc.h"
|
||||
|
||||
|
|
|
@ -40,7 +40,7 @@
|
|||
# include <windows.h>
|
||||
#endif /* WIN32 */
|
||||
|
||||
#include "glew-mx.h"
|
||||
#include "GPU_glew.h"
|
||||
|
||||
#include <map>
|
||||
|
||||
|
|
|
@ -36,7 +36,7 @@
|
|||
# include <windows.h>
|
||||
#endif
|
||||
|
||||
#include "glew-mx.h"
|
||||
#include "GPU_glew.h"
|
||||
#include "GPU_extensions.h"
|
||||
#include "GPU_init_exit.h"
|
||||
|
||||
|
|
|
@ -22,7 +22,7 @@
|
|||
* \ingroup ketsji
|
||||
*/
|
||||
|
||||
#include "glew-mx.h"
|
||||
#include "GPU_glew.h"
|
||||
|
||||
#include <iostream>
|
||||
#include "BL_Shader.h"
|
||||
|
|
|
@ -22,7 +22,7 @@
|
|||
* \ingroup ketsji
|
||||
*/
|
||||
|
||||
#include "glew-mx.h"
|
||||
#include "GPU_glew.h"
|
||||
|
||||
#include <iostream>
|
||||
#include <map>
|
||||
|
|
|
@ -22,7 +22,7 @@
|
|||
* \ingroup ketsji
|
||||
*/
|
||||
|
||||
#include "glew-mx.h"
|
||||
#include "GPU_glew.h"
|
||||
|
||||
#include "KX_BlenderMaterial.h"
|
||||
#include "BL_Material.h"
|
||||
|
|
|
@ -38,7 +38,7 @@
|
|||
#include "RAS_IRasterizer.h"
|
||||
#include "KX_KetsjiEngine.h"
|
||||
|
||||
#include "glew-mx.h"
|
||||
#include "GPU_glew.h"
|
||||
#include <vector>
|
||||
|
||||
#include "MEM_guardedalloc.h"
|
||||
|
|
|
@ -30,7 +30,7 @@
|
|||
* \ingroup ketsji
|
||||
*/
|
||||
|
||||
#include "glew-mx.h"
|
||||
#include "GPU_glew.h"
|
||||
|
||||
#ifdef _MSC_VER
|
||||
# pragma warning (disable:4786)
|
||||
|
|
|
@ -37,6 +37,7 @@ set(INC
|
|||
../../SceneGraph
|
||||
../../../blender/blenkernel
|
||||
../../../blender/blenlib
|
||||
../../../blender/gpu
|
||||
../../../blender/makesdna
|
||||
../../../../intern/container
|
||||
../../../../intern/guardedalloc
|
||||
|
|
|
@ -31,6 +31,7 @@ set(INC
|
|||
../../blender/makesdna
|
||||
../../blender/blenlib
|
||||
../../blender/blenkernel
|
||||
../../blender/gpu
|
||||
../../blender/imbuf
|
||||
../../../intern/container
|
||||
../../../intern/glew-mx
|
||||
|
|
|
@ -43,7 +43,7 @@
|
|||
#include "RAS_2DFilterManager.h"
|
||||
#include <iostream>
|
||||
|
||||
#include "glew-mx.h"
|
||||
#include "GPU_glew.h"
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
|
|
|
@ -30,7 +30,7 @@
|
|||
#include <windows.h>
|
||||
#endif // WIN32
|
||||
|
||||
#include "glew-mx.h"
|
||||
#include "GPU_glew.h"
|
||||
|
||||
#include "RAS_MaterialBucket.h"
|
||||
#include "RAS_TexVert.h"
|
||||
|
|
|
@ -25,7 +25,7 @@
|
|||
* ***** END GPL LICENSE BLOCK *****
|
||||
*/
|
||||
|
||||
#include "glew-mx.h"
|
||||
#include "GPU_glew.h"
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
|
|
|
@ -25,7 +25,7 @@
|
|||
* ***** END GPL LICENSE BLOCK *****
|
||||
*/
|
||||
|
||||
#include "glew-mx.h"
|
||||
#include "GPU_glew.h"
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
|
|
|
@ -35,7 +35,7 @@
|
|||
|
||||
#include "RAS_OpenGLRasterizer.h"
|
||||
|
||||
#include "glew-mx.h"
|
||||
#include "GPU_glew.h"
|
||||
|
||||
#include "RAS_ICanvas.h"
|
||||
#include "RAS_Rect.h"
|
||||
|
|
|
@ -25,7 +25,7 @@
|
|||
* ***** END GPL LICENSE BLOCK *****
|
||||
*/
|
||||
|
||||
#include "glew-mx.h"
|
||||
#include "GPU_glew.h"
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
|
|
|
@ -27,7 +27,7 @@
|
|||
|
||||
#include "RAS_StorageVA.h"
|
||||
|
||||
#include "glew-mx.h"
|
||||
#include "GPU_glew.h"
|
||||
|
||||
RAS_StorageVA::RAS_StorageVA(int *texco_num, RAS_IRasterizer::TexCoGen *texco, int *attrib_num, RAS_IRasterizer::TexCoGen *attrib, int *attrib_layer) :
|
||||
m_drawingmode(RAS_IRasterizer::KX_TEXTURED),
|
||||
|
|
|
@ -28,7 +28,7 @@
|
|||
#include "RAS_StorageVBO.h"
|
||||
#include "RAS_MeshObject.h"
|
||||
|
||||
#include "glew-mx.h"
|
||||
#include "GPU_glew.h"
|
||||
|
||||
VBO::VBO(RAS_DisplayArray *data, unsigned int indices)
|
||||
{
|
||||
|
|
|
@ -29,7 +29,7 @@
|
|||
#define __KX_VERTEXBUFFEROBJECTSTORAGE
|
||||
|
||||
#include <map>
|
||||
#include "glew-mx.h"
|
||||
#include "GPU_glew.h"
|
||||
|
||||
#include "RAS_IStorage.h"
|
||||
#include "RAS_IRasterizer.h"
|
||||
|
|
|
@ -40,7 +40,7 @@
|
|||
|
||||
#include "FilterBase.h"
|
||||
|
||||
#include "glew-mx.h"
|
||||
#include "GPU_glew.h"
|
||||
|
||||
// forward declarations
|
||||
struct PyImage;
|
||||
|
|
|
@ -36,7 +36,7 @@
|
|||
#include <math.h>
|
||||
|
||||
|
||||
#include "glew-mx.h"
|
||||
#include "GPU_glew.h"
|
||||
|
||||
#include "KX_PythonInit.h"
|
||||
#include "DNA_scene_types.h"
|
||||
|
|
|
@ -33,7 +33,7 @@
|
|||
#include "EXP_PyObjectPlus.h"
|
||||
#include <structmember.h>
|
||||
|
||||
#include "glew-mx.h"
|
||||
#include "GPU_glew.h"
|
||||
|
||||
#include "KX_PythonInit.h"
|
||||
#include "RAS_ICanvas.h"
|
||||
|
|
|
@ -55,7 +55,7 @@
|
|||
#include "Exception.h"
|
||||
|
||||
#include <memory.h>
|
||||
#include "glew-mx.h"
|
||||
#include "GPU_glew.h"
|
||||
|
||||
extern "C" {
|
||||
#include "IMB_imbuf.h"
|
||||
|
|
|
@ -47,7 +47,7 @@ extern "C" {
|
|||
#include "BLI_threads.h"
|
||||
#include "BLI_blenlib.h"
|
||||
}
|
||||
#include "GL/glew.h"
|
||||
#include "GPU_glew.h"
|
||||
#ifdef WIN32
|
||||
#include "dvpapi.h"
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue