#include <msp/gl/extensions/ext_framebuffer_object.h>
#include <msp/gl/extensions/khr_debug.h>
#include <msp/io/memory.h>
-#include "bindable.h"
#include "error.h"
#include "resourcemanager.h"
#include "resources.h"
set_manager(m);
else
generate_id();
+
+ static bool alignment_init = false;
+ if(!alignment_init)
+ {
+ glPixelStorei(GL_UNPACK_ALIGNMENT, 1);
+ alignment_init = true;
+ }
}
Texture::~Texture()