diff --git a/ref_gl/gl_local.h b/ref_gl/gl_local.h index d690c94..dba74e2 100644 --- a/ref_gl/gl_local.h +++ b/ref_gl/gl_local.h @@ -348,7 +348,7 @@ void GL_TextureSolidMode( char *string ); /* ** GL extension emulation functions */ -void GL_DrawParticles( int n, const particle_t particles[], const unsigned colortable[768] ); +void GL_DrawParticles( int n, const particle_t particles[], const unsigned *colortable ); /* ** GL config stuff diff --git a/ref_gl/gl_rmain.c b/ref_gl/gl_rmain.c index 4351197..d3927f0 100644 --- a/ref_gl/gl_rmain.c +++ b/ref_gl/gl_rmain.c @@ -412,7 +412,7 @@ void R_DrawEntitiesOnList (void) ** GL_DrawParticles ** */ -void GL_DrawParticles( int num_particles, const particle_t particles[], const unsigned colortable[768] ) +void GL_DrawParticles( int num_particles, const particle_t particles[], const unsigned *colortable ) { const particle_t *p; int i; diff --git a/ref_vk/vk_local.h b/ref_vk/vk_local.h index 6d23378..49fbd92 100644 --- a/ref_vk/vk_local.h +++ b/ref_vk/vk_local.h @@ -290,7 +290,7 @@ void Vk_ImageList_f (void); void Vk_InitImages (void); void Vk_ShutdownImages (void); void Vk_FreeUnusedImages (void); -void Vk_DrawParticles( int n, const particle_t particles[], const unsigned colortable[768] ); +void Vk_DrawParticles( int n, const particle_t particles[], const unsigned *colortable ); void Mat_Identity(float *matrix); void Mat_Mul(float *m1, float *m2, float *res); diff --git a/ref_vk/vk_rmain.c b/ref_vk/vk_rmain.c index 2878109..5549808 100644 --- a/ref_vk/vk_rmain.c +++ b/ref_vk/vk_rmain.c @@ -401,7 +401,7 @@ void R_DrawEntitiesOnList (void) ** Vk_DrawParticles ** */ -void Vk_DrawParticles( int num_particles, const particle_t particles[], const unsigned colortable[768] ) +void Vk_DrawParticles( int num_particles, const particle_t particles[], const unsigned *colortable ) { const particle_t *p; int i;