blob: 23d69087c07f538c819f0f341c124b0f998a5799 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
#ifndef DISPLAY_H
#define DISPLAY_H
#define WIN32_LEAN_AND_MEAN // so winsock1 isnt included, mainly
#include <windows.h>
#include "ogl/ogl.h"
typedef struct WindowContext {
WNDCLASSEX windowClass;
HWND window;
HDC windowDC;
} WindowContext;
int InitializeWindowContext(char className[], char windowName[], WNDPROC WindowProc, WindowContext *WContext);
int InitializeOpenGL(HWND window, HGLRC *renderingContext);
#endif
|