mirror of
https://github.com/celisej567/mcpe.git
synced 2026-09-11 20:11:18 +03:00
Cleaned Up AppPlatform & Input Classes
* Cleaned up AppPlatform classes * Documented & improved Keyboard & Mouse classes * Improved input-handling code in the Windows & SDL main.cpp files
This commit is contained in:
committed by
iProgramInCpp
parent
e731fefbea
commit
d5ee7bfc08
@@ -10,7 +10,6 @@
|
||||
#include <unordered_map>
|
||||
|
||||
HWND GetHWND();
|
||||
extern LPCTSTR g_GameTitle;
|
||||
|
||||
// Don't undefine. It will make the game MUCH slower.
|
||||
#define USE_HARDWARE_GL_BUFFERS
|
||||
@@ -49,7 +48,7 @@ void xglInit()
|
||||
|
||||
#ifdef USE_HARDWARE_GL_BUFFERS
|
||||
if (!xglInitted())
|
||||
MessageBox(GetHWND(), TEXT("Error initializing GL extensions. Update your graphics drivers!"), g_GameTitle, MB_OK);
|
||||
MessageBox(GetHWND(), TEXT("Error initializing GL extensions. Update your graphics drivers!"), "Error", MB_OK);
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user