Commit Graph

20 Commits

Author SHA1 Message Date
Luke Benstead
824b7a64ab Fix a number of bugs with texture bindings 2017-06-01 09:32:28 +01:00
Luke Benstead
1a80a70614 Implement gl(Enable|Disable)ClientState 2017-05-31 19:32:46 +01:00
Luke Benstead
cdaee856cc Fix up normal stride 2017-05-31 14:34:43 +01:00
Luke Benstead
6829dcada4 Only enable multitexturing if a texture is bound to unit 1 2017-05-31 13:34:30 +01:00
Luke Benstead
1307f43bc5 Fix texture coordinate stride 2017-05-31 12:36:01 +01:00
Luke Benstead
5fef5546ee Take into account vertex stride when transforming positions 2017-05-31 11:17:55 +01:00
Luke Benstead
6aacdcf573 Fix start offset of glDrawArrays for colours and vertices 2017-05-31 11:12:34 +01:00
Luke Benstead
a51cedad79 Fix vertex stride 2017-05-31 11:07:28 +01:00
Luke Benstead
46b927fa8a Fix glColorPointer pointer arithmetic by using bytes consistently and properly calculating stride 2017-05-31 10:59:32 +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
U-PH3NOM-PC\PH3NOM
d5077ae105 #Initial Commit for new Open GL API, replacing the old KGL 2014-08-16 11:13:38 -07:00