glText icon indicating copy to clipboard operation
glText copied to clipboard

Changing GLSL version to 1.30 with Intel HD 3000 renders only time depended text colors in flickering state using the simple.c example

Open jopadan opened this issue 4 years ago • 2 comments

jopadan avatar Jul 27 '20 19:07 jopadan

Technically, glText is built to support is GLSL 330 and forward. That being said, does things work properly, if you don't change the GLSL version? However, I'll happily try and help with this issue, so we can extend the supported versions.

First, try and #define GLT_DEBUG_PRINT 1, such that it overall looks like this:

#define GLT_DEBUG_PRINT 1
#define GLT_IMPLEMENTATION
#include "gltext.h"

Running the program now. Is any additional information outputted to the console?

Also, try checking glGetError as well as debug output? If not, could you add it and report back any errors / information. Though, debug output was first introduced as core in OpenGL 4.3, so try and check upfront if the KHR_debug extension is available, otherwise there's also ARB_debug_output and AMD_debug_output.

vallentin avatar Jul 28 '20 02:07 vallentin

I already enabled the debug output to find the error because of standard 330 core being set. There are no additional messages if I set it to 130.

jopadan avatar Jul 29 '20 18:07 jopadan