Skip to content

Commit

Permalink
(GX) Use GX_SetCurrentMtx/GX_CallDispList inlined functions
Browse files Browse the repository at this point in the history
  • Loading branch information
inactive123 committed Feb 22, 2014
1 parent 8d6339e commit 14db344
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions gx/gx_video.c
Original file line number Diff line number Diff line change
Expand Up @@ -944,15 +944,15 @@ static bool gx_frame(void *data, const void *frame,

__GX_InvalidateTexAll(__gx);

GX_SetCurrentMtx(GX_PNMTX0);
__GX_SetCurrentMtx(__gx, GX_PNMTX0);
GX_LoadTexObj(&g_tex.obj, GX_TEXMAP0);
GX_CallDispList(display_list, display_list_size);
__GX_CallDispList(__gx, display_list, display_list_size);

if (gx->rgui_texture_enable)
{
GX_SetCurrentMtx(GX_PNMTX1);
__GX_SetCurrentMtx(__gx, GX_PNMTX1);
GX_LoadTexObj(&menu_tex.obj, GX_TEXMAP0);
GX_CallDispList(display_list, display_list_size);
__GX_CallDispList(__gx, display_list, display_list_size);
}

#ifdef HAVE_OVERLAY
Expand Down

0 comments on commit 14db344

Please sign in to comment.