mirror of
https://gitlab.com/shinovon/re3-symbian.git
synced 2026-05-22 17:47:20 +03:00
Reduce buffer size back to 16, enable start menu
RwInitialised non-sense
This commit is contained in:
parent
38bc1a6dab
commit
689c76b4c5
7 changed files with 92 additions and 31 deletions
8
vendor/librw/src/gl/gl3raster.cpp
vendored
8
vendor/librw/src/gl/gl3raster.cpp
vendored
|
|
@ -139,10 +139,10 @@ rasterCreateTexture(Raster *raster)
|
|||
|
||||
glGenTextures(1, &natras->texid);
|
||||
uint32 prev = bindTexture(natras->texid);
|
||||
glTexImage2D(GL_TEXTURE_2D, 0, natras->internalFormat,
|
||||
// raster->width, raster->height,
|
||||
1,1,
|
||||
0, natras->format, natras->type, nil);
|
||||
// glTexImage2D(GL_TEXTURE_2D, 0, natras->internalFormat,
|
||||
//// raster->width, raster->height,
|
||||
// 1,1,
|
||||
// 0, natras->format, natras->type, nil);
|
||||
// TODO: allocate other levels...probably
|
||||
#ifndef __SYMBIAN32__
|
||||
glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MAX_LEVEL, natras->numLevels-1);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue