Fix another part of issue 3716 missed in the last revision.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6602 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
Glenn Rice 2010-12-17 22:13:58 +00:00
parent 22f19f6fdb
commit d01542ee0a
2 changed files with 5 additions and 3 deletions

View File

@ -102,6 +102,9 @@ include(CheckLib)
include(FindOpenGL REQUIRED)
include_directories(${OPENGL_INCLUDE_DIR})
if(NOT OPENGL_GLU_FOUND)
message(FATAL_ERROR "GLU is required but not found")
endif()
include(FindALSA OPTIONAL)
if(ALSA_FOUND)
@ -297,8 +300,6 @@ if(WIN32)
find_library(GLEW glew32s PATHS Externals/GLew)
include_directories(Externals/GLew/include)
else()
check_lib(GLU GLU GL/glu.h REQUIRED)
check_lib(GLEW GLEW GL/glew.h)
if(NOT GLEW_FOUND)
message("Shared GLEW not found, falling back to the static library")

View File

@ -700,7 +700,8 @@ void CFrame::OnPlay(wxCommandEvent& WXUNUSED (event))
void CFrame::OnRenderParentClose(wxCloseEvent& event)
{
DoStop();
event.Skip();
if (Core::GetState() == Core::CORE_UNINITIALIZED)
event.Skip();
}
void CFrame::OnRenderParentMove(wxMoveEvent& event)