mirror of
https://github.com/YGGverse/xash3d-fwgs.git
synced 2025-03-10 12:41:39 +00:00
ref: gl: psvita: revert arrayverts change, it doesn't matter that much
This commit is contained in:
parent
5a3e3b3977
commit
82cfd3ecc3
@ -25,14 +25,6 @@ GNU General Public License for more details.
|
|||||||
#define EVENT_CLIENT 5000 // less than this value it's a server-side studio events
|
#define EVENT_CLIENT 5000 // less than this value it's a server-side studio events
|
||||||
#define MAX_LOCALLIGHTS 4
|
#define MAX_LOCALLIGHTS 4
|
||||||
|
|
||||||
#if XASH_PSVITA
|
|
||||||
// save some address space by decreasing .bss size
|
|
||||||
// we're not gonna be using the array renderer anyway
|
|
||||||
#define MAXARRAYVERTS 1
|
|
||||||
#else
|
|
||||||
#define MAXARRAYVERTS MAXSTUDIOVERTS
|
|
||||||
#endif
|
|
||||||
|
|
||||||
typedef struct
|
typedef struct
|
||||||
{
|
{
|
||||||
char name[MAX_OSPATH];
|
char name[MAX_OSPATH];
|
||||||
@ -120,10 +112,10 @@ typedef struct
|
|||||||
player_model_t player_models[MAX_CLIENTS];
|
player_model_t player_models[MAX_CLIENTS];
|
||||||
|
|
||||||
// drawelements renderer
|
// drawelements renderer
|
||||||
vec3_t arrayverts[MAXARRAYVERTS];
|
vec3_t arrayverts[MAXSTUDIOVERTS];
|
||||||
vec2_t arraycoord[MAXARRAYVERTS];
|
vec2_t arraycoord[MAXSTUDIOVERTS];
|
||||||
unsigned short arrayelems[MAXARRAYVERTS*6];
|
unsigned short arrayelems[MAXSTUDIOVERTS*6];
|
||||||
GLubyte arraycolor[MAXARRAYVERTS][4];
|
GLubyte arraycolor[MAXSTUDIOVERTS][4];
|
||||||
uint numverts;
|
uint numverts;
|
||||||
uint numelems;
|
uint numelems;
|
||||||
} studio_draw_state_t;
|
} studio_draw_state_t;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user