unroll glsl for loop for compatibility on mac

This commit is contained in:
2019-01-19 23:34:42 +01:00
parent 13f6bd29fa
commit 36cbe52e2e
2 changed files with 12 additions and 9 deletions

View File

@@ -372,9 +372,9 @@ void App::init()
initLayout();
title_update();
GLfloat width_range[2];
glGetFloatv(GL_SMOOTH_LINE_WIDTH_RANGE, width_range);
LOG("GL line range: %f - %f", width_range[0], width_range[1]);
//GLfloat width_range[2];
//glGetFloatv(GL_SMOOTH_LINE_WIDTH_RANGE, width_range);
//LOG("GL line range: %f - %f", width_range[0], width_range[1]);
LOG("Screen Size: %f %f", width, height);
GLint fb0;