diff --git a/GRRLIB/GRRLIB/GRRLIB_snapshot.c b/GRRLIB/GRRLIB/GRRLIB_snapshot.c index 74996df..9cb109c 100644 --- a/GRRLIB/GRRLIB/GRRLIB_snapshot.c +++ b/GRRLIB/GRRLIB/GRRLIB_snapshot.c @@ -24,10 +24,10 @@ THE SOFTWARE. /** * Make a snapshot of the screen in a texture. - * @param posx top left corner of the grabbed part - * @param posy top left corner of the grabbed part + * @param posx top left corner of the grabbed part. + * @param posy top left corner of the grabbed part. * @param tex A pointer to a texture representing the screen or NULL if an error occurs. - * @param clear, want that GX clear the grabbed part ? + * @param clear When this flag is set to true, the grabbed part is cleared while copying. */ void GRRLIB_Screen2Texture (int posx, int posy, GRRLIB_texImg *tex, bool clear) { if(tex->data != NULL) { diff --git a/GRRLIB/GRRLIB/grrlib/GRRLIB__lib.h b/GRRLIB/GRRLIB/grrlib/GRRLIB__lib.h index bf74b6c..a800453 100644 --- a/GRRLIB/GRRLIB/grrlib/GRRLIB__lib.h +++ b/GRRLIB/GRRLIB/grrlib/GRRLIB__lib.h @@ -123,6 +123,7 @@ void GRRLIB_Render (void) ; //------------------------------------------------------------------------------ // GRRLIB_snapshot.c - Create a texture containing a snapshot of a part of the framebuffer void GRRLIB_Screen2Texture (int posx, int posy, GRRLIB_texImg *tex, bool clear) ; + //------------------------------------------------------------------------------ // GRRLIB_texEdit.c - Modifying the content of a texture