Skip to content
Snippets Groups Projects
Commit a721a346 authored by Pascal Engeler's avatar Pascal Engeler
Browse files

Disabled depth test

parent b58b388b
No related branches found
No related tags found
No related merge requests found
......@@ -63,6 +63,10 @@ bool Infrastructure::init(const std::string name, const int width, const int hei
//SDL_GL_SetAttribute(SDL_GL_MULTISAMPLESAMPLES, 16);
//glEnable(GL_MULTISAMPLE);
//disable depth testing
glEnable(GL_DEPTH_TEST);
glDepthFunc(GL_ALWAYS);
//transparency
glEnable(GL_BLEND);
glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment