Initialize OpenGL and clear the screen to blue on update

This commit is contained in:
Toni Spets 2010-10-17 10:53:01 +03:00
parent f1e2bb8dc5
commit ad037e718c
5 changed files with 79 additions and 2 deletions

5
main.h
View file

@ -19,6 +19,8 @@
#include <windows.h>
#include "ddraw.h"
#include <GL/gl.h>
#include <GL/glu.h>
typedef struct
{
@ -60,6 +62,9 @@ typedef struct
DWORD height;
DWORD bpp;
HINSTANCE hInstance;
HWND hWnd;
} fakeDirectDrawObject;
#endif