Function glrinfotext
#include <macaw3d.h>int glrinfotext(const char *field, char *buf, int size);
Gets one fact about the graphics card as text, such as its name.
Parameters
fieldconst char *- Which fact:
"renderer"(the card's name),"version"(its OpenGL version) or"extensions". bufchar *- Where to put the text. It's cut short to fit, and is empty with no graphics card.
sizeint- How many bytes
bufholds.
Returns int
How long the whole text is, so you can tell if buf was too small.
In The graphics card, with glrpresent, cubemaps, glrvram, glrinfonumber.