mirror of
https://gitlab.com/shinovon/re3-symbian.git
synced 2026-05-23 01:57:21 +03:00
Some stats
This commit is contained in:
parent
1209902fe9
commit
7e7188abbd
6 changed files with 54 additions and 0 deletions
5
vendor/librw/src/gl/gl3render.cpp
vendored
5
vendor/librw/src/gl/gl3render.cpp
vendored
|
|
@ -21,9 +21,13 @@ namespace gl3 {
|
|||
|
||||
#define MAX_LIGHTS
|
||||
|
||||
extern "C" int draw;
|
||||
extern "C" int render;
|
||||
|
||||
void
|
||||
drawInst_simple(InstanceDataHeader *header, InstanceData *inst)
|
||||
{
|
||||
draw++;
|
||||
flushCache();
|
||||
glDrawElements(header->primType, inst->numIndex,
|
||||
GL_UNSIGNED_SHORT, ((uint8*) header->indexBuffer) + inst->offset);
|
||||
|
|
@ -133,6 +137,7 @@ lightingCB(Atomic *atomic)
|
|||
void
|
||||
defaultRenderCB(Atomic *atomic, InstanceDataHeader *header)
|
||||
{
|
||||
render++;
|
||||
Material *m;
|
||||
|
||||
uint32 flags = atomic->geometry->flags;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue