Initialize OpenGL and clear the screen to blue on update
This commit is contained in:
parent
f1e2bb8dc5
commit
ad037e718c
5 changed files with 79 additions and 2 deletions
5
main.h
5
main.h
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue