diff options
author | Brian Paul <brian.paul@tungstengraphics.com> | 2008-12-08 15:42:54 -0700 |
---|---|---|
committer | José Fonseca <jfonseca@vmware.com> | 2011-07-11 20:05:23 +0100 |
commit | dd5f3ac5040a64578d69a9532f7491253d8364b6 (patch) | |
tree | d7defecf6723dffaf42567e5ad1bfe2270727ecf /src/glut/glx/glutint.h | |
parent | 61e9e50309a3fdf3e553080d9d9584a1ddf73dae (diff) | |
download | glut-dd5f3ac5040a64578d69a9532f7491253d8364b6.tar.gz |
glut: added GLUT_PPM_FILE env var to dump first frame to a PPM file
Set GLUT_PPM_FILE to the desired filename. The first frame rendered will
be written to that file.
Diffstat (limited to 'src/glut/glx/glutint.h')
-rw-r--r-- | src/glut/glx/glutint.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/glut/glx/glutint.h b/src/glut/glx/glutint.h index de506a5..fe4e038 100644 --- a/src/glut/glx/glutint.h +++ b/src/glut/glx/glutint.h @@ -664,6 +664,7 @@ extern unsigned int __glutModifierMask; #ifdef _WIN32 extern void (__cdecl *__glutExitFunc)(int retval); #endif +extern char *__glutPPMFile; /* private variables from glut_menu.c */ extern GLUTmenuItem *__glutItemSelected; @@ -684,6 +685,9 @@ extern void __glutFreeOverlay(GLUToverlay * overlay); extern XVisualInfo *__glutDetermineWindowVisual(Bool * treatAsSingle, Bool * visAlloced, void **fbc); +/* private variables from glut_ppm.c */ +extern void __glutWritePPMFile(void); + /* private variables from glut_mesa.c */ extern int __glutMesaSwapHackSupport; @@ -812,4 +816,5 @@ extern LONG WINAPI __glutWindowProc(HWND win, UINT msg, WPARAM w, LPARAM l); extern HDC XHDC; #endif + #endif /* __glutint_h__ */ |