Commit Graph

11 Commits

Author SHA1 Message Date
Luke Benstead
146be442f4 Start reimplementing immediate mode and removing dead code 2018-05-12 14:39:20 +01:00
Luke Benstead
62e001c288 Reimplement or refactor Texturing, State, and Drawing
Things working:
 - glDrawArrays / glDrawElements et al.
 - Texturing
 - Blending

Things missing:

 - Lighting
 - Multitexturing
 - Near Z-clipping
 - Framebuffer extension
 - Immediate mode
2018-05-11 15:39:28 +01:00
Luke Benstead
42d2a1e091 Refactor glTexImage2D and associated enums
- Enums now respect GLs defined ranges
- Short formats are now correctly supported
- Duplicated (and incorrect) enums removed
- New conversions supported
- Fixes a number of bugs
2018-05-01 09:07:09 +01:00
Luke Benstead
824b7a64ab Fix a number of bugs with texture bindings 2017-06-01 09:32:28 +01:00
Lawrence Sebald
a1185f3369 glIsEnabled(GL_CULL_FACE) should return the status of culling, not fog. 2017-05-23 09:11:52 -04:00
Lawrence Sebald
0fa6e42b55 Remove +x permissions bits... 2016-01-03 22:24:52 -05:00
Josh Pearson
3df4244bc2 Formatting cleanup, and cleanup on gl-fog.c 2015-09-09 11:25:51 -07:00
Josh Pearson
5fce3e1897 Added Texture Format Conversion to glTexImage2D, Added GL_TEXTURE Matrix Transformations when glEnable(GL_KOS_TEXTURE_MATRIX), various bug fixes, few more API functions added 2015-09-06 09:47:57 -07:00
Josh Pearson
763ec99483 Added multi-texture support and glCompressedTexImage2D to the GL API 2015-01-04 15:07:57 -08:00
Josh Pearson
8b276ca731 Fixed const pointer function definitions 2014-12-19 19:07:11 -08:00
Josh Pearson
97dc25918a First major update to the API 9-28-14 2014-09-28 19:40:41 -07:00