glview_get_size()

Fetch the current surface size.

Synopsis:

#include <glview/glview.h>
 
GLVIEW_API int glview_get_size(unsigned int *width, unsigned int *height)

Arguments:

width

If this parameter is non-null then it will be set to the current width of the surface.

height

If this parameter is non-null then it will be set to the current height of the surface.

Library:

libglview

Description:

Query the surface to determine the size of the current surface.

Returns:

GLVIEW_SUCCESS upon success, GLVIEW_FAILURE otherwise, with errno set to the following: