From 5601fa2ddaf0331e1b302f876c91fbe263677b71 Mon Sep 17 00:00:00 2001 From: shinyquagsire23 Date: Wed, 24 Aug 2016 15:46:02 -0700 Subject: [PATCH] Remove GX2 functions which don't exist in target system version --- include/gx2/clear.h | 13 ------------- rpl/libgx2/exports.h | 4 ---- 2 files changed, 17 deletions(-) diff --git a/include/gx2/clear.h b/include/gx2/clear.h index 4d02358..e8eea69 100644 --- a/include/gx2/clear.h +++ b/include/gx2/clear.h @@ -22,25 +22,12 @@ GX2ClearColor(GX2ColorBuffer *colorBuffer, float blue, float alpha); -void -GX2ClearDepthStencil(GX2DepthBuffer *depthBuffer, - GX2ClearFlags clearMode); - void GX2ClearDepthStencilEx(GX2DepthBuffer *depthBuffer, float depth, uint8_t stencil, GX2ClearFlags clearMode); -void -GX2ClearBuffers(GX2ColorBuffer *colorBuffer, - GX2DepthBuffer *depthBuffer, - float red, - float green, - float blue, - float alpha, - GX2ClearFlags clearMode); - void GX2ClearBuffersEx(GX2ColorBuffer *colorBuffer, GX2DepthBuffer *depthBuffer, diff --git a/rpl/libgx2/exports.h b/rpl/libgx2/exports.h index bacb778..b3796aa 100644 --- a/rpl/libgx2/exports.h +++ b/rpl/libgx2/exports.h @@ -1,15 +1,12 @@ // gx2/clear.h EXPORT(GX2ClearColor); -EXPORT(GX2ClearDepthStencil); EXPORT(GX2ClearDepthStencilEx); -EXPORT(GX2ClearBuffers); EXPORT(GX2ClearBuffersEx); EXPORT(GX2SetClearDepth); EXPORT(GX2SetClearStencil); EXPORT(GX2SetClearDepthStencil); // gx2/context.h -EXPORT(GX2SetupContextState); EXPORT(GX2SetupContextStateEx); EXPORT(GX2GetContextStateDisplayList); EXPORT(GX2SetContextState); @@ -29,7 +26,6 @@ EXPORT(GX2GetSystemDRCMode); // gx2/displaylist.h EXPORT(GX2BeginDisplayListEx); -EXPORT(GX2BeginDisplayList); EXPORT(GX2EndDisplayList); EXPORT(GX2DirectCallDisplayList); EXPORT(GX2CallDisplayList);