Commit Graph

18 Commits

Author SHA1 Message Date
Luke Benstead
ed05c5feb8 Make things a little more explicit in the depth write toggling 2017-09-14 19:43:33 +01:00
Luke Benstead
c3a9877fdb Fix backface culling 2017-06-01 09:39:53 +01:00
Luke Benstead
3a1f7d24d8 GLushort is required to store GL_CCW or GL_CW 2017-05-31 19:35:15 +01:00
Luke Benstead
f36fc72334 Default to CCW front faces 2017-05-31 19:22:38 +01: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
4af2c8aacc Added support for 2D vertices using glDrawArrays. Fixed a small bug in matrix transform stack. 2014-12-20 16:49:56 -08:00
Josh Pearson
8b276ca731 Fixed const pointer function definitions 2014-12-19 19:07:11 -08:00
Josh Pearson
704a46e8dc Fixed stride on glDrawArrays, clean up on lighting code, added glRect function 2014-12-13 15:17:57 -08:00
Josh Pearson
97dc25918a First major update to the API 9-28-14 2014-09-28 19:40:41 -07:00
U-PH3NOM-PC\PH3NOM
b6e9ff70b5 Fixed bugs reported as of 9-06-2014 2014-09-07 15:41:26 -07:00
Lawrence Sebald
be969bd840 Normalize line endings in libgl to LF rather than CRLF. 2014-08-29 15:56:23 -04:00
Lawrence Sebald
61b809f5cd Add glGetFloatv() for reading matrices as requested in #dreamcastdev on IRC.
This commit also adds a new glKosGetMatrix() function that does the same thing,
but isn't limited to the modelview, projection, and texture matrices, as
glGetFloatv() is.
2014-08-29 15:38:42 -04:00
U-PH3NOM-PC\PH3NOM
0711f10b1f #Fixed glVertex2f to perform as the standard defines. glKosVertex2f is added for direct submission to PVR of 2D vertices with no transform. 2014-08-26 18:11:41 -07:00
Lawrence Sebald
4390d627bf This should hopefully fix the C++ compilation issues with libgl. 2014-08-18 19:16:32 -04:00
U-PH3NOM-PC\PH3NOM
d5077ae105 #Initial Commit for new Open GL API, replacing the old KGL 2014-08-16 11:13:38 -07:00