17 Commits

Author SHA1 Message Date
MichaelFisher1997
13d3b73357 Added OpenGL error checking, used macros to wrap clear error and check error, has a break point and returns the line the ASSERT failed, also added a colormod to print out in colors 2025-01-07 23:34:46 +00:00
MichaelFisher1997
557033f840 added a index buffer to draw a triangle without duplications data for the positions of the 2 tringles that make up a squere 2025-01-06 20:30:18 +00:00
MichaelFisher1997
d8895a1930 Added a way to load shader from file, we use a .shader file which contains both our vertex and fragment shaders, we parse them out the file 2025-01-06 20:01:22 +00:00
MichaelFisher1997
dcfd6031d7 fized our error message make added a glDeleteProgram call when the application ends 2025-01-06 18:38:21 +00:00
MichaelFisher1997
087343599c Added a simple shader hardcoded in a string, and a function for creating and compiling the shader 2025-01-06 18:32:22 +00:00
MichaelFisher1997
3cab7282dc Added a vertex attributes and glEnable 2025-01-05 14:12:28 +00:00
MichaelFisher1997
0b32500d6f Added a vertex buffer 2025-01-05 13:51:33 +00:00
MichaelFisher1997
64bedd56c7 Added GLEW 2025-01-05 13:17:26 +00:00
MichaelFisher1997
4cd0930d2f make the window re-sizeable 2025-01-05 02:52:38 +00:00
MichaelFisher1997
438e9cd03a added OpenGL 2025-01-05 02:41:40 +00:00
MichaelFisher1997
18298f046a pre opengl 2025-01-05 02:27:36 +00:00
MichaelFisher1997
71968a3b42 added README 2025-01-05 02:09:24 +00:00
MichaelFisher1997
33398e3967 added README 2025-01-05 02:08:30 +00:00
MichaelFisher1997
d89c5c930e added build-run script and gitignore 2025-01-05 02:05:52 +00:00
MichaelFisher1997
19c7eb81d1 changed flake descript 2025-01-05 02:02:00 +00:00
MichaelFisher1997
439332ffc9 changed flake descript 2025-01-05 01:57:45 +00:00
MichaelFisher1997
803114bad0 init SDL 2025-01-05 01:30:18 +00:00