mirror of
https://gitlab.com/shinovon/re3-symbian.git
synced 2026-05-23 01:57:21 +03:00
hora dejo de verse todo de color negro. las texturas que estan dentro de gta3.img se estaban convirtiendo mal. por eso se veia negro. ahora usa las imagenes directamente. esto arregla los problemas visuales... pero no se si el juego se queda sin memoria y crashea al jugar un par de minutos. algo que no pasaba antes
This commit is contained in:
parent
d4d2f375d2
commit
39c75bb8c5
3 changed files with 8 additions and 6 deletions
4
vendor/librw/src/gles1/gl1device.cpp
vendored
4
vendor/librw/src/gles1/gl1device.cpp
vendored
|
|
@ -930,7 +930,7 @@ setLights(WorldLights *lightData)
|
|||
glDisable(GL_LIGHTING);
|
||||
return 0;
|
||||
|
||||
int i, n;
|
||||
/*int i, n;
|
||||
Light *l;
|
||||
int32 bits = 0;
|
||||
|
||||
|
|
@ -997,7 +997,7 @@ out:
|
|||
glDisable(GL_LIGHTING);
|
||||
|
||||
objectDirty = 1;
|
||||
return bits;
|
||||
return bits;*/
|
||||
}
|
||||
|
||||
void
|
||||
|
|
|
|||
4
vendor/librw/src/gles1/gl1render.cpp
vendored
4
vendor/librw/src/gles1/gl1render.cpp
vendored
|
|
@ -106,7 +106,9 @@ defaultRenderCB(Atomic *atomic, InstanceDataHeader *header)
|
|||
|
||||
uint32 flags = atomic->geometry->flags;
|
||||
setWorldMatrix(atomic->getFrame()->getLTM());
|
||||
int32 vsBits = lightingCB(atomic);
|
||||
//int32 vsBits = lightingCB(atomic);
|
||||
|
||||
glDisable(GL_LIGHTING);
|
||||
|
||||
setupVertexInput(header);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue