VirtualBox

Ignore:
Timestamp:
Oct 21, 2010 3:48:26 AM (15 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
66848
Message:

crOpenGL/wddm: disable partial blits for hd4800 only

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/GuestHost/OpenGL/util/pixel.c

    r32240 r33280  
    18021802{
    18031803    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
     1811void crDumpNamedTGA(const char* fname, GLint w, GLint h, GLvoid *data)
     1812{
    18041813    tgaheader_t header;
    18051814    FILE *out;
    18061815
    1807     if (!w || !h) return;
    1808 
    1809     sprintf(fname, "tex%i.tga", _tnum++);
    18101816    out = fopen(fname, "w");
    18111817    if (!out) crError("can't create %s!", fname);
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette