mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-24 15:13:58 -06:00
4th Attempt to fix texture rendering on OpenGL 1.1 cards
This commit is contained in:
parent
be52647440
commit
266a4413bd
2 changed files with 15 additions and 9 deletions
|
@ -3548,9 +3548,6 @@ void GLCanvas3D::_render_warning_texture() const
|
|||
unsigned int h = _3DScene::get_warning_texture_height();
|
||||
if ((w > 0) && (h > 0))
|
||||
{
|
||||
//###############################################################################################################################
|
||||
::glDisable(GL_LIGHTING);
|
||||
//###############################################################################################################################
|
||||
::glDisable(GL_DEPTH_TEST);
|
||||
::glPushMatrix();
|
||||
::glLoadIdentity();
|
||||
|
@ -3584,9 +3581,6 @@ void GLCanvas3D::_render_legend_texture() const
|
|||
unsigned int h = _3DScene::get_legend_texture_height();
|
||||
if ((w > 0) && (h > 0))
|
||||
{
|
||||
//###############################################################################################################################
|
||||
::glDisable(GL_LIGHTING);
|
||||
//###############################################################################################################################
|
||||
::glDisable(GL_DEPTH_TEST);
|
||||
::glPushMatrix();
|
||||
::glLoadIdentity();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue