ref: 8013da174118ba85ffbc34f391e8e385e7cadd36
parent: 0aaced64e40dfdb26220d5f384ff68514aa6db4f
author: David <gek@katherine>
date: Thu Feb 11 14:20:31 EST 2021
update
--- a/README
+++ b/README
@@ -1,4 +1,4 @@
-TinyGL 0.5 (c) 1997-2020 Fabrice Bellard, C-Chads (see License, it's free software)
+TinyGL 0.6 (c) 1997-2021 Fabrice Bellard, C-Chads, Gek (see License, it's free software)
This is a maintained fork of TinyGL, by the C-Chads.
It is a small, suckless Software-only partial GL 1.1 implementation.
@@ -5,13 +5,20 @@
The original project was by Fabrice Bellard. We have forked it.
The changelog is as such:
+* Disabled all non-RGBA rendering modes. The only supported mode is now RGBA.
NEW FUNCTIONS
glSetEnableSpecular(int shouldenablespecular);
- Allows you to configure specular rendering. Turn it off
- if you want to use GL_LIGHTING but don't plan on using
- specular lighting. it will save cycles.
+ Allows you to configure specular rendering. Turn it off
+ if you want to use GL_LIGHTING but don't plan on using
+ specular lighting. it will save cycles.
glGetTexturePixmap(int text, int level, int* xsize, int* ysize)
- Allows the user to retrieve the raw pixel data of a texture, for their own modification.
+ Allows the user to retrieve the raw pixel data of a texture, for their own modification.
+void glDrawText(const unsigned char* text, int x, int y, unsigned int pixel)
+ Draws a pre-made 8x8 font to the screen. You can change its displayed size with...
+void glTextSize(GLTEXTSIZE mode)
+ Set size of text drawn to the buffer in aforementioned function.
+void glPlotPixel(int x, int y, unsigned int pixel)
+ Plot pixel directly to the buffer.
FIXED BUGS FROM THE ORIGINAL!