Realized I had forgotten to initialize the UserInput struct to 0.

This commit is contained in:
Fatbag 2012-03-21 21:31:46 -05:00
parent 551f3c834f
commit 705da4ba5c
8 changed files with 17 additions and 18 deletions

View file

@ -21,6 +21,7 @@
//Graphics/Startup.cpp
namespace Graphics {
int Initialize();
void Shutdown();
extern HDC hDC;
extern HGLRC hRC;

View file

@ -23,8 +23,6 @@ HANDLE Thread;
HDC hDC;
HGLRC hRC;
void Shutdown();
int Initialize(){
hDC = GetDC(Window::hWnd);
if(hDC == NULL){