Forum

GU To GL equivelants

Discuss programming topics for the various GPL'd game engine sources.

Moderator: InsideQC Admins

GU To GL equivelants

Postby Mexicouger » Sun Jan 02, 2011 3:08 am

I thought I would post the Gu and GL equivalents for us psp modders, so when you are porting a feature, you can replace the proper GL functions with our precious GU functions. I hope this helps for people, and feel free to add-on to this thread.
Code: Select all
GL                          GU
----------------------------------
GL_SMOOTH         |   GU_SMOOTH
glShadeModel      |   sceGuShadeModel
glDisable         |       sceGuDisable
glEnable          |      sceGuEnable
glDepthMask       |   sceGuDepthMask
glColor4f         |            sceGuColor
GL_TEXTURE_2D     |        GU_TEXTURE_2D
glColor3f         |       sceGuColor
glPopMatrix       |      sceGumPopMatrix
User avatar
Mexicouger
 
Posts: 514
Joined: Sat May 01, 2010 10:12 pm

Postby Downsider » Sun Jan 02, 2011 3:50 am

You know there's documentation, right?
User avatar
Downsider
 
Posts: 621
Joined: Tue Sep 16, 2008 1:35 am

Postby Mexicouger » Sun Jan 02, 2011 3:57 am

Downsider wrote:You know there's documentation, right?
:o
Where can I see this
User avatar
Mexicouger
 
Posts: 514
Joined: Sat May 01, 2010 10:12 pm

Postby Downsider » Sun Jan 02, 2011 4:18 pm

User avatar
Downsider
 
Posts: 621
Joined: Tue Sep 16, 2008 1:35 am


Return to Engine Programming

Who is online

Users browsing this forum: No registered users and 1 guest