mirror of
https://github.com/FWGS/xash3d-fwgs.git
synced 2026-08-05 03:24:56 +08:00
engine: replace pool pointer by pool handle
This commit is contained in:
committed by
Alibek Omarov #SupportRMS
parent
43f1137565
commit
9313f7e80e
@@ -56,7 +56,7 @@ GNU General Public License for more details.
|
||||
#define LM_SAMPLE_SIZE 16
|
||||
|
||||
|
||||
extern byte *r_temppool;
|
||||
extern poolhandle_t r_temppool;
|
||||
|
||||
#define BLOCK_SIZE tr.block_size // lightmap blocksize
|
||||
#define BLOCK_SIZE_DEFAULT 128 // for keep backward compatibility
|
||||
|
||||
@@ -49,7 +49,7 @@ cvar_t *tracergreen;
|
||||
cvar_t *tracerblue;
|
||||
cvar_t *traceralpha;
|
||||
|
||||
byte *r_temppool;
|
||||
poolhandle_t r_temppool;
|
||||
|
||||
gl_globals_t tr;
|
||||
glconfig_t glConfig;
|
||||
|
||||
@@ -1734,7 +1734,7 @@ extern decal_t gDecalPool[MAX_RENDER_DECALS];
|
||||
struct vbo_static_s
|
||||
{
|
||||
// quickly free all allocations on map change
|
||||
byte *mempool;
|
||||
poolhandle_t mempool;
|
||||
|
||||
// arays
|
||||
vbodecaldata_t *decaldata; // array
|
||||
|
||||
Reference in New Issue
Block a user