Changeset 1042


Ignore:
Timestamp:
Oct 31, 2011, 9:19:12 AM (9 years ago)
Author:
sam
Message:

scene: try to disable all activated GL features in the scene rendering.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/scene.cpp

    r960 r1042  
    405405    data->tiles = 0;
    406406    data->ntiles = 0;
     407
     408    glDisable(GL_TEXTURE_2D);
     409    glDisable(GL_DEPTH_TEST);
     410#if defined HAVE_GL_2X && !defined __APPLE__
     411    glDisable(GL_ALPHA_TEST);
     412#endif
     413    glDisable(GL_BLEND);
    407414}
    408415
Note: See TracChangeset for help on using the changeset viewer.