Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix header guard and definitions not being set to 1
  • Loading branch information
Sonicadvance1 committed Feb 11, 2013
1 parent 0955135 commit 8923f0e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions CMakeLists.txt
Expand Up @@ -247,14 +247,14 @@ endif()
# Enabling GLES also disables the OpenGL plugin.
if(USE_GLES)
message("GLES rendering enabled")
add_definitions(-DUSE_GLES)
add_definitions(-DUSE_EGL)
add_definitions(-DUSE_GLES=1)
add_definitions(-DUSE_EGL=1)
set(USE_EGL True)
endif()

if(USE_EGL)
message("EGL OpenGL interface enabled")
add_definitions(-DUSE_EGL)
add_definitions(-DUSE_EGL=1)
endif()
add_definitions(-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE)

Expand Down
4 changes: 2 additions & 2 deletions Source/Core/DolphinWX/Src/GLInterface/EGL.h
Expand Up @@ -14,8 +14,8 @@

// Official SVN repository and contact information can be found at
// http://code.google.com/p/dolphin-emu/
#ifndef _INTERFACEGLX_H_
#define _INTERFACEGLX_H_
#ifndef _INTERFACEEGL_H_
#define _INTERFACEEGL_H_

#include <EGL/egl.h>
#ifdef USE_GLES
Expand Down

0 comments on commit 8923f0e

Please sign in to comment.