Skip to content

Commit

Permalink
Updated signatures for DrawParticles() functions.
Browse files Browse the repository at this point in the history
  • Loading branch information
kondrak committed Jul 8, 2023
1 parent 538b4ec commit 94fec72
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion ref_gl/gl_local.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion ref_gl/gl_rmain.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion ref_vk/vk_local.h
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
2 changes: 1 addition & 1 deletion ref_vk/vk_rmain.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 94fec72

Please sign in to comment.