From 4eb328d09dc1dabf3c6f08e78e997baee9adaa5c Mon Sep 17 00:00:00 2001 From: Faerbit Date: Wed, 4 Mar 2015 23:37:10 +0100 Subject: [PATCH] Disabled multisampling because we draw to an offscreen fbo anyway. --- graphics.cc | 2 +- main.cc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/graphics.cc b/graphics.cc index 966dc2b..65dcead 100644 --- a/graphics.cc +++ b/graphics.cc @@ -34,7 +34,7 @@ void Graphics::init(Level* level) { glEnable(GL_BLEND); glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA); glEnable(GL_TEXTURE_CUBE_MAP_SEAMLESS); - glEnable(GL_MULTISAMPLE); + //glEnable(GL_MULTISAMPLE); fullscreen_quad_ab = SharedArrayBuffer(new ArrayBuffer()); fullscreen_quad_ab->defineAttribute("aPosition", GL_FLOAT, 2); diff --git a/main.cc b/main.cc index 6a876be..a47f5f1 100644 --- a/main.cc +++ b/main.cc @@ -81,7 +81,7 @@ bool createWindow() setGLFWHintsForOpenGLVersion( ACGL_OPENGL_VERSION ); // activate multisampling (second parameter is the number of samples): - glfwWindowHint( GLFW_SAMPLES, 4); + //glfwWindowHint( GLFW_SAMPLES, 4); // request an OpenGL debug context: glfwWindowHint( GLFW_OPENGL_DEBUG_CONTEXT, true );