Changeset 33280 in vbox for trunk/src/VBox/GuestHost/OpenGL/util
- Timestamp:
- Oct 21, 2010 3:48:26 AM (15 years ago)
- svn:sync-xref-src-repo-rev:
- 66848
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/GuestHost/OpenGL/util/pixel.c
r32240 r33280 1802 1802 { 1803 1803 char fname[200]; 1804 1805 if (!w || !h) return; 1806 1807 sprintf(fname, "tex%i.tga", _tnum++); 1808 crDumpNamedTGA(fname, w, h, data); 1809 } 1810 1811 void crDumpNamedTGA(const char* fname, GLint w, GLint h, GLvoid *data) 1812 { 1804 1813 tgaheader_t header; 1805 1814 FILE *out; 1806 1815 1807 if (!w || !h) return;1808 1809 sprintf(fname, "tex%i.tga", _tnum++);1810 1816 out = fopen(fname, "w"); 1811 1817 if (!out) crError("can't create %s!", fname);
Note:
See TracChangeset
for help on using the changeset viewer.