From adde9b778b03769f1fc3d8030230f854fa86bc9e Mon Sep 17 00:00:00 2001 From: nakeee Date: Sat, 7 Feb 2009 19:17:20 +0000 Subject: [PATCH] compile fix git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2134 8ced0084-cf51-0410-be5f-012b33b47a6e --- Source/Core/Core/Src/Debugger/DebugInterface.h | 1 + Source/Plugins/Plugin_VideoOGL/Src/X11Window.cpp | 5 +++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/Source/Core/Core/Src/Debugger/DebugInterface.h b/Source/Core/Core/Src/Debugger/DebugInterface.h index 3c3413f3f9..af2776ca24 100644 --- a/Source/Core/Core/Src/Debugger/DebugInterface.h +++ b/Source/Core/Core/Src/Debugger/DebugInterface.h @@ -2,6 +2,7 @@ #define _DEBUGINTERFACE_H #include +#include class DebugInterface { diff --git a/Source/Plugins/Plugin_VideoOGL/Src/X11Window.cpp b/Source/Plugins/Plugin_VideoOGL/Src/X11Window.cpp index ed0cf32904..8ed588e526 100644 --- a/Source/Plugins/Plugin_VideoOGL/Src/X11Window.cpp +++ b/Source/Plugins/Plugin_VideoOGL/Src/X11Window.cpp @@ -265,10 +265,11 @@ bool X11Window::MakeCurrent() { &w, &h, &borderDummy, &depth); ERROR_LOG("GLWin Depth %d", depth); - if (glXIsDirect(dpy, ctx)) + if (glXIsDirect(dpy, ctx)) { ERROR_LOG("you have Direct Rendering!"); - else + } else { ERROR_LOG("no Direct Rendering possible!"); + } // better for pad plugin key input (thc) XSelectInput(dpy, win, ExposureMask | KeyPressMask | ButtonPressMask |