shithub: tinygl

Download patch

ref: 82aee264d2285345f2d87d61f6b5e281ea04494e
parent: f8753116f7c807aa0302add1126ca510e0512695
author: Gek_At_Windows <gek169@github.com>
date: Mon Mar 1 15:22:54 EST 2021

B

--- a/SDL_Examples/Makefile
+++ b/SDL_Examples/Makefile
@@ -5,7 +5,13 @@
 GL_INCLUDES= -I../include/
 ALL_T= gears texture model helloworld
 LIB= ../lib/libTinyGL.a
+
+#For GCC on good OSes:
 SDL_LIBS= -lSDL 
+#for MinGW users:
+#SDL_LIBS= -lmingw32 -lSDLmain -lSDL 
+
+
 #SDL_MIXERLIBS= -lSDL_mixer -lmad -logg -lmikmod -logg
 SDL_MIXERLIBS= 
 all: $(ALL_T)
--- /dev/null
+++ b/SDL_Examples/stdout.txt
@@ -1,0 +1,14 @@
+
+RMASK IS 16711680
+GMASK IS 65280
+BMASK IS 255
+AMASK IS 0
+RSHIFT IS 16
+GSHIFT IS 8
+BSHIFT IS 0
+ASHIFT IS 0
+
+Has 11808 points.
+158 frames in 5.216000 secs, 30.291410 frames per second.
+233 frames in 5.018000 secs, 46.432842 frames per second.
+14 frames in 0.329000 secs, 42.553192 frames per second.