-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain.h
More file actions
30 lines (28 loc) · 775 Bytes
/
main.h
File metadata and controls
30 lines (28 loc) · 775 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
/*
* =====================================================================================
*
* Filename: main.h
*
* Description: header for main.c
*
* Version: 1.0
* Created: 28/07/17 19:18:13
* Revision: none
* Compiler: gcc
*
* Author: YOUR NAME (),
* Organization:
*
* =====================================================================================
*/
#include <stdio.h>
#include <stdlib.h>
#include <time.h>
#include <stdbool.h>
#include <SDL2/SDL.h>
#include <GL/gl.h>
void quit(SDL_Window *window, SDL_GLContext context);
void initialize(SDL_Window *window);
void draw();
SDL_GLContext setupOpenGL(SDL_Window *window, SDL_GLContext glcontext);
SDL_Window *setupWindow(SDL_Window * window);