From 18f611802019c809d4257f6d1c0e341d3a645b1a Mon Sep 17 00:00:00 2001 From: Mikko Rasa Date: Mon, 4 Dec 2017 13:06:17 +0200 Subject: [PATCH] Remove the fake MSP_stereo_rendering extension I originally created it because I thought it might be useful with VR headsets. Now it's apparent that VR rendering is done with different APIs and the left/right constants are useless. The other values of the RWbuffer enum weren't being used for anything either. --- extensions/msp_stereo_rendering.glext | 1 - gl.msp.xml | 13 ------------- source/framebuffer.h | 15 --------------- 3 files changed, 29 deletions(-) delete mode 100644 extensions/msp_stereo_rendering.glext diff --git a/extensions/msp_stereo_rendering.glext b/extensions/msp_stereo_rendering.glext deleted file mode 100644 index cf278f14..00000000 --- a/extensions/msp_stereo_rendering.glext +++ /dev/null @@ -1 +0,0 @@ -extension MSP_stereo_rendering diff --git a/gl.msp.xml b/gl.msp.xml index 1f7ef625..a1787cb0 100644 --- a/gl.msp.xml +++ b/gl.msp.xml @@ -87,19 +87,6 @@ - - - - - - - - - - - - diff --git a/source/framebuffer.h b/source/framebuffer.h index 5a9993da..1dd8c96f 100644 --- a/source/framebuffer.h +++ b/source/framebuffer.h @@ -6,7 +6,6 @@ #include "gl.h" #include "texturecube.h" #include -#include #include namespace Msp { @@ -46,20 +45,6 @@ enum BufferBits STENCIL_BUFFER_BIT = GL_STENCIL_BUFFER_BIT }; -enum RWBuffer -{ - NO_BUFFER = GL_NONE, - FRONT_LEFT = GL_FRONT_LEFT, - FRONT_RIGHT = GL_FRONT_RIGHT, - BACK_LEFT = GL_BACK_LEFT, - BACK_RIGHT = GL_BACK_RIGHT, - FRONT = GL_FRONT, - BACK = GL_BACK, - LEFT = GL_LEFT, - RIGHT = GL_RIGHT, - FRONT_AND_BACK = GL_FRONT_AND_BACK -}; - class framebuffer_incomplete: public std::runtime_error { public: -- 2.45.2