Browse Source

* get_CurDC() was a stupid idea.

git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/pwntcha/trunk@439 92316355-f0b4-4df1-b90c-862c8a59935f
master
sam 20 years ago
parent
commit
2f8f88f534
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/image.c

+ 1
- 1
src/image.c View File

@@ -78,7 +78,7 @@ struct image *image_load(const char *name)
}
#endif

pic->lpVtbl->get_CurDC(pic, &dc);
dc = CreateCompatibleDC(NULL);

if(GetDeviceCaps(dc, BITSPIXEL) < 24)
{


Loading…
Cancel
Save