Skip to content

Commit

Permalink
(RSX) Silence some warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
LibretroAdmin committed Feb 20, 2023
1 parent 2d2d966 commit 7b413b6
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 5 deletions.
2 changes: 0 additions & 2 deletions gfx/common/rsx_common.h
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,6 @@
#define RSX_MAX_TEXTURE_VERTICES 4096 // Set > 0 for preallocated texture vertices
#define RSX_MAX_FONT_VERTICES 8192

#define GFX_MAX_SHADERS RSX_MAX_SHADERS

/* Shader objects */
extern const u8 modern_opaque_vpo_end[];
extern const u8 modern_opaque_vpo[];
Expand Down
3 changes: 0 additions & 3 deletions gfx/drivers/rsx_gfx.c
Original file line number Diff line number Diff line change
Expand Up @@ -1243,7 +1243,6 @@ static bool rsx_suppress_screensaver(void* data, bool enable) { return false; }

static void rsx_free(void* data)
{
int i;
rsx_t* gcm = (rsx_t*)data;

if (!gcm)
Expand Down Expand Up @@ -1274,9 +1273,7 @@ static void rsx_free(void* data)
rsxFree(gcm->depth_buffer);
if (gcm->fp_buffer)
rsxFree(gcm->fp_buffer);
#endif

#if 0
rsxFinish(gcm->context, 1);
free(gcm->host_addr);
#endif
Expand Down

0 comments on commit 7b413b6

Please sign in to comment.