mirror of
https://github.com/pspdev/pspsdk.git
synced 2025-10-04 01:00:09 +00:00
Improve wording in documentation for getStaticVramTexture
This commit is contained in:
@@ -1519,7 +1519,7 @@ void guSwapBuffersCallback(GuSwapBuffersCallback callback);
|
|||||||
void* getStaticVramBuffer(unsigned int width, unsigned int height, unsigned int psm);
|
void* getStaticVramBuffer(unsigned int width, unsigned int height, unsigned int psm);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Allocate a texture buffer in vram
|
* Allocate a texture in vram
|
||||||
*
|
*
|
||||||
* Available texture-formats are:
|
* Available texture-formats are:
|
||||||
* - GU_PSM_5650 - Hicolor, 16-bit
|
* - GU_PSM_5650 - Hicolor, 16-bit
|
||||||
@@ -1529,11 +1529,11 @@ void* getStaticVramBuffer(unsigned int width, unsigned int height, unsigned int
|
|||||||
* - GU_PSM_T4 - Indexed, 4-bit (2 pixels per byte)
|
* - GU_PSM_T4 - Indexed, 4-bit (2 pixels per byte)
|
||||||
* - GU_PSM_T8 - Indexed, 8-bit
|
* - GU_PSM_T8 - Indexed, 8-bit
|
||||||
*
|
*
|
||||||
* @param width - Width of the buffer (must be a power of 2)
|
* @param width - Width of the texture (must be a power of 2)
|
||||||
* @param height - Height of the buffer (must be a power of 2)
|
* @param height - Height of the texture (must be a power of 2)
|
||||||
* @param psm - Which pixel format to use
|
* @param psm - Which pixel format to use
|
||||||
*
|
*
|
||||||
* @return A pointer to the buffer
|
* @return A pointer to the texture
|
||||||
**/
|
**/
|
||||||
void* getStaticVramTexture(unsigned int width, unsigned int height, unsigned int psm);
|
void* getStaticVramTexture(unsigned int width, unsigned int height, unsigned int psm);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user