ref: b75bca337a9cf272c8dfc42af11b867d11aeb804
parent: 8d8347fe5177137b0ff4aedbdf058928d15bf403
author: David <gek@katherine>
date: Wed Feb 17 15:02:21 EST 2021
demo update
--- a/SDL_Examples/helloworld.c
+++ b/SDL_Examples/helloworld.c
@@ -248,7 +248,8 @@
// draw scene:
glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);
- draw2();
+ //draw2();
+ draw();
glDrawText((unsigned char*)"Hello World!\nFrom TinyGL", 0, 0, 0x00FFFFFF);
// swap buffers:
if (SDL_MUSTLOCK(screen) && (SDL_LockSurface(screen) < 0)) {