diff --git a/src/opengl.hpp b/src/opengl.hpp index 10a7968d..4557df0a 100644 --- a/src/opengl.hpp +++ b/src/opengl.hpp @@ -50,30 +50,4 @@ namespace opengl /// Generates a textures, binds it to GL_TEXTURE_2D and sets some common parameters GLuint genAndBindTexture(); - - template struct Type {}; - - template<> - struct Type - { - const static GLenum constant = GL_FLOAT; - }; - - template<> - struct Type - { -#ifdef GL_DOUBLE - const static GLenum constant = GL_DOUBLE; - using type = GLdouble; -#else - const static GLenum constant = GL_FLOAT; - using type = GLfloat; -#endif - }; - -#ifdef GL_DOUBLE - using CoordType = GLdouble; -#else - using CoordType = GLfloat; -#endif } // namespace opengl