mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-02-03 19:42:45 +01:00
Fix header guard and definitions not being set to 1
This commit is contained in:
parent
0955135290
commit
8923f0e13b
@ -247,14 +247,14 @@ endif()
|
|||||||
# Enabling GLES also disables the OpenGL plugin.
|
# Enabling GLES also disables the OpenGL plugin.
|
||||||
if(USE_GLES)
|
if(USE_GLES)
|
||||||
message("GLES rendering enabled")
|
message("GLES rendering enabled")
|
||||||
add_definitions(-DUSE_GLES)
|
add_definitions(-DUSE_GLES=1)
|
||||||
add_definitions(-DUSE_EGL)
|
add_definitions(-DUSE_EGL=1)
|
||||||
set(USE_EGL True)
|
set(USE_EGL True)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if(USE_EGL)
|
if(USE_EGL)
|
||||||
message("EGL OpenGL interface enabled")
|
message("EGL OpenGL interface enabled")
|
||||||
add_definitions(-DUSE_EGL)
|
add_definitions(-DUSE_EGL=1)
|
||||||
endif()
|
endif()
|
||||||
add_definitions(-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE)
|
add_definitions(-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE)
|
||||||
|
|
||||||
|
@ -14,8 +14,8 @@
|
|||||||
|
|
||||||
// Official SVN repository and contact information can be found at
|
// Official SVN repository and contact information can be found at
|
||||||
// http://code.google.com/p/dolphin-emu/
|
// http://code.google.com/p/dolphin-emu/
|
||||||
#ifndef _INTERFACEGLX_H_
|
#ifndef _INTERFACEEGL_H_
|
||||||
#define _INTERFACEGLX_H_
|
#define _INTERFACEEGL_H_
|
||||||
|
|
||||||
#include <EGL/egl.h>
|
#include <EGL/egl.h>
|
||||||
#ifdef USE_GLES
|
#ifdef USE_GLES
|
||||||
|
Loading…
x
Reference in New Issue
Block a user