shithub: tinygl

Download patch

ref: c37ed9b9460b20478ec194536b82f6e754c56412
parent: a6c73d93d6c3c0b0d058d432caf8b053d73b988e
author: David <gek@katherine>
date: Mon Feb 15 16:17:36 EST 2021

FASTgit add .!

--- a/README.md
+++ b/README.md
@@ -3,6 +3,8 @@
 A rework of Fabrice Bellard's TinyGL (still compiling with -std=c99) to be
 more useful as a software rasterizer.
 
+It's also lightning fast.
+
 Without Polygon Stipple:
 
 ![GIF Video of demo](capture.gif)
--- a/SDL_Examples/gears.c
+++ b/SDL_Examples/gears.c
@@ -415,11 +415,11 @@
         glClear( GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT );
         draw();
         
-//		glDrawText((unsigned char*)"RED text", 0, 0,   0x000000FF);
+		glDrawText((unsigned char*)"RED text", 0, 0,   0x000000FF);
 
-//		glDrawText((unsigned char*)"GREEN text", 0, 24,0x0000FF00);
+		glDrawText((unsigned char*)"GREEN text", 0, 24,0x0000FF00);
 
-//		glDrawText((unsigned char*)"BLUE text", 0, 48,  0x00FF0000);
+		glDrawText((unsigned char*)"BLUE text", 0, 48,  0x00FF0000);
         // swap buffers:
         if ( SDL_MUSTLOCK(screen) && (SDL_LockSurface(screen)<0) ) {
             fprintf(stderr, "SDL ERROR: Can't lock screen: %s\n", SDL_GetError());