- added the GL framebuffer class.

Everything compiles again but obviously no init code will run for now.
This commit is contained in:
Christoph Oelckers 2019-12-23 15:40:17 +01:00
parent 6b475417dc
commit a1f7f0cc30
26 changed files with 8946 additions and 8903 deletions

View file

@ -33,7 +33,7 @@
**
*/
#include <memory>
#include "glad/glad.h"
#include "gl_load.h"
#include "glbackend.h"
#include "gl_samplers.h"
#include "gl_shader.h"
@ -167,7 +167,7 @@ void GLInstance::InitGLState(int fogmode, int multisample)
if (multisample > 0 )
{
glHint(GL_MULTISAMPLE_FILTER_HINT_NV, GL_NICEST);
//glHint(GL_MULTISAMPLE_FILTER_HINT_NV, GL_NICEST);
glEnable(GL_MULTISAMPLE);
}
glGetIntegerv(GL_MAX_TEXTURE_SIZE, &maxTextureSize);