try to fix fog consecutively to the Intel fix. still not perfect for whatever reason

also clean up more code
This commit is contained in:
StapleButter
2019-05-31 03:00:53 +02:00
parent 3ef00f8fa6
commit c49dec1acd
4 changed files with 49 additions and 76 deletions

View File

@ -187,12 +187,7 @@ void SetupDefaultTexParams(GLuint tex)
bool Init()
{
GLint uni_id;
const GLubyte* renderer = glGetString(GL_RENDERER); // get renderer string
const GLubyte* version = glGetString(GL_VERSION); // version as a string
printf("OpenGL: renderer: %s\n", renderer);
printf("OpenGL: version: %s\n", version);
glEnable(GL_DEPTH_TEST);
glEnable(GL_STENCIL_TEST);