- Code: Select all
1
2
3Surface surf;
surf.create(TEXT("file.bmp")); //Here ReturnCode::OK
pBackBuffer->bltFast(0,0,&surf); //Here ReturnCode::INVALID_COORD (Code: 2)3 lines; 0 keywds; 2 nums; 15 ops; 1 strs; 2 coms Syntactic Coloring v0.4 - Dan East
Here is a picture:
http://psi.teoretiki.ru/pics/file.bmp
And :
- Code: Select all
1
2
3
4
5
6aSurface surf;
Font font;
surf.create(TEXT("file.bmp"));
font.createFont(" 0123456",&surf,RGB(248,3,248));//This line freeze a programm...6 lines; 0 keywds; 3 nums; 19 ops; 2 strs; 1 coms Syntactic Coloring v0.4 - Dan East
If I convert BMP to GIF all works fine without any errors.
May be some bugs in BMP reading? Or this BMP have a strange format.
