(RSX) Silence some warnings

This commit is contained in:
libretroadmin 2023-02-20 14:18:40 +01:00
parent 2d2d96660a
commit 7b413b667e
2 changed files with 0 additions and 5 deletions

View File

@ -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[];

View File

@ -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)
@ -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