mirror of
https://github.com/pspdev/pspsdk.git
synced 2025-12-25 13:04:59 +00:00
18 lines
499 B
C
18 lines
499 B
C
/*
|
|
* PSP Software Development Kit - http://www.pspdev.org
|
|
* -----------------------------------------------------------------------
|
|
* Licensed under the BSD license, see LICENSE in PSPSDK root for details.
|
|
*
|
|
* Copyright (c) 2005 Jesper Svennevid
|
|
*/
|
|
|
|
#include "guInternal.h"
|
|
|
|
void sceGuTexProjMapMode(int mode)
|
|
{
|
|
GuContext* context = &gu_contexts[gu_curr_context];
|
|
|
|
context->texture_proj_map_mode = ((mode & 0x03) << 8);
|
|
sendCommandi(192,((mode & 0x03) << 8) | context->texture_map_mode);
|
|
}
|