mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-11 04:06:12 +00:00
MYST3: formating
This commit is contained in:
parent
d758937cbc
commit
8c8520426a
@ -81,7 +81,8 @@ TinyGLTexture::~TinyGLTexture() {
|
||||
|
||||
void TinyGLTexture::update(const Graphics::Surface *surface) {
|
||||
tglBindTexture(TGL_TEXTURE_2D, id);
|
||||
tglTexImage2D(TGL_TEXTURE_2D, 0, internalFormat, internalWidth, internalHeight, 0, internalFormat, sourceFormat,const_cast<void *>(surface->getPixels())); // TESTME: Not sure if it works.
|
||||
tglTexImage2D(TGL_TEXTURE_2D, 0, internalFormat, internalWidth, internalHeight, 0,
|
||||
internalFormat, sourceFormat, const_cast<void *>(surface->getPixels())); // TESTME: Not sure if it works.
|
||||
|
||||
buffer.free();
|
||||
buffer = Graphics::PixelBuffer(surface->format, surface->w * surface->h, DisposeAfterUse::NO);
|
||||
|
Loading…
x
Reference in New Issue
Block a user