remove line thickness from the grid, add ambient light, fix lightmap texture resize
This commit is contained in:
@@ -188,7 +188,6 @@ struct gl_state
|
||||
scissor_test = glIsEnabled(GL_SCISSOR_TEST);
|
||||
glGetIntegerv(GL_VIEWPORT, vp);
|
||||
glGetFloatv(GL_COLOR_CLEAR_VALUE, cc);
|
||||
glGetFloatv(GL_LINE_WIDTH, &line_width);
|
||||
glGetIntegerv(GL_CURRENT_PROGRAM, &program);
|
||||
glGetIntegerv(GL_FRAMEBUFFER_BINDING, &fb);
|
||||
glGetIntegerv(GL_ACTIVE_TEXTURE, &active_tex);
|
||||
@@ -217,6 +216,5 @@ struct gl_state
|
||||
}
|
||||
glActiveTexture(active_tex);
|
||||
glBindTexture(GL_TEXTURE_CUBE_MAP, cube);
|
||||
glLineWidth(line_width);
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user