shithub: tinygl

Download patch

ref: 6a128f9a35e4b1e1401c55ed175fd8bc1f4234b1
parent: 1fa931aa80521f1502c30722c68f00a3eff9fab7
author: David <gek@katherine>
date: Thu Feb 11 14:47:33 EST 2021

Readme update

--- a/README.md
+++ b/README.md
@@ -9,18 +9,29 @@
 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);
+
+# 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.
-glGetTexturePixmap(int text, int level, int* xsize, int* ysize)
+
+# 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.
-void glDrawText(const unsigned char* text, int x, int y, unsigned int pixel)
+
+# 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)
+
+# glTextSize(GLTEXTSIZE mode)
+
 	Set size of text drawn to the buffer in aforementioned function.
-void glPlotPixel(int x, int y, unsigned int pixel)
+
+# glPlotPixel(int x, int y, unsigned int pixel)
+
 	Plot pixel directly to the buffer.