From: Mikko Rasa Date: Mon, 4 Dec 2017 11:06:17 +0000 (+0200) Subject: Remove the fake MSP_stereo_rendering extension X-Git-Url: http://git.tdb.fi/?p=libs%2Fgl.git;a=commitdiff_plain;h=18f611802019c809d4257f6d1c0e341d3a645b1a 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. --- 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: