New Geometry View, with new frame and new settings.

This commit is contained in:
brunoherbelin
2020-04-29 00:20:38 +02:00
parent 091eceefe5
commit 79e9b70fa2
19 changed files with 788 additions and 82 deletions

View File

@@ -33,7 +33,7 @@ uint Resource::getTextureBlack()
if (tex_index_black == 0) {
glGenTextures(1, &tex_index_black);
glBindTexture( GL_TEXTURE_2D, tex_index_black);
unsigned char clearColor[4] = {0, 0, 0, 0};
unsigned char clearColor[4] = {0, 0, 0, 255};
// texture with one black pixel
glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA, 1, 1, 0, GL_RGBA, GL_UNSIGNED_BYTE, clearColor);
}