mirror of
https://github.com/edubart/otclient.git
synced 2025-12-22 16:27:10 +01:00
animated texture
This commit is contained in:
@@ -26,7 +26,6 @@
|
||||
#include <graphics/texture.h>
|
||||
|
||||
#include <GL/gl.h>
|
||||
#include <GL/glext.h>
|
||||
|
||||
Texture::Texture(int width, int height, int components, uchar *pixels)
|
||||
{
|
||||
@@ -85,3 +84,4 @@ uchar *Texture::getPixels()
|
||||
glGetTexImage(GL_TEXTURE_2D, 0, GL_RGBA, GL_UNSIGNED_BYTE, pixels);
|
||||
return pixels;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user