GU To GL equivelants

Discuss programming topics for the various GPL'd game engine sources.
Post Reply
Mexicouger
Posts: 514
Joined: Sat May 01, 2010 10:12 pm
Contact:

GU To GL equivelants

Post by Mexicouger »

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
Downsider
Posts: 621
Joined: Tue Sep 16, 2008 1:35 am

Post by Downsider »

You know there's documentation, right?
Mexicouger
Posts: 514
Joined: Sat May 01, 2010 10:12 pm
Contact:

Post by Mexicouger »

Downsider wrote:You know there's documentation, right?
:o
Where can I see this
Downsider
Posts: 621
Joined: Tue Sep 16, 2008 1:35 am

Post by Downsider »

Post Reply