comparison render_sdl.c @ 1528:855210dca5b9 nuklear_ui

Set glClearColor back to black
author Michael Pavone <pavone@retrodev.com>
date Tue, 13 Mar 2018 22:18:20 -0700
parents 001120e91fed
children c59adc305e46
comparison
equal deleted inserted replaced
1527:4f6e8acd7b6a 1528:855210dca5b9
694 694
695 void render_update_display() 695 void render_update_display()
696 { 696 {
697 #ifndef DISABLE_OPENGL 697 #ifndef DISABLE_OPENGL
698 if (render_gl) { 698 if (render_gl) {
699 glClearColor(1.0f, 0.0f, 0.0f, 1.0f); 699 glClearColor(0.0f, 0.0f, 0.0f, 1.0f);
700 glClear(GL_COLOR_BUFFER_BIT); 700 glClear(GL_COLOR_BUFFER_BIT);
701 701
702 glUseProgram(program); 702 glUseProgram(program);
703 glActiveTexture(GL_TEXTURE0); 703 glActiveTexture(GL_TEXTURE0);
704 glBindTexture(GL_TEXTURE_2D, textures[0]); 704 glBindTexture(GL_TEXTURE_2D, textures[0]);