From f50f9d38fd462b1f66efa3eee2611237165bdb18 Mon Sep 17 00:00:00 2001 From: rogerman Date: Mon, 26 Dec 2016 12:37:22 -0800 Subject: [PATCH] OpenGL Renderer: Reduce OGLRENDER_MAX_MULTISAMPLES from 16 to 8. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Now that framebuffer sizes can be greater than 256x192, using MSAAx16 is excessive and consumes too much bandwidth. We’re reducing the maximum sample size of MSAA to 8 since it will significantly reduce bandwidth consumption at the larger framebuffer sizes while remaining mostly visually equivalent to MSAAx16. --- desmume/src/OGLRender.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/desmume/src/OGLRender.h b/desmume/src/OGLRender.h index a0dfffe98..4390a26cf 100644 --- a/desmume/src/OGLRender.h +++ b/desmume/src/OGLRender.h @@ -279,7 +279,7 @@ EXTERNOGLEXT(PFNGLTEXBUFFERPROC, glTexBuffer) // Core in v3.1 #define OGLRENDER_MINIMUM_DRIVER_VERSION_REQUIRED_MINOR 2 #define OGLRENDER_MINIMUM_DRIVER_VERSION_REQUIRED_REVISION 0 -#define OGLRENDER_MAX_MULTISAMPLES 16 +#define OGLRENDER_MAX_MULTISAMPLES 8 #define OGLRENDER_VERT_INDEX_BUFFER_COUNT (POLYLIST_SIZE * 6) enum OGLVertexAttributeID