Posible BUG?
Here is a picture:
http://psi.teoretiki.ru/pics/file.bmp
And :
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.
- Code:
Surface surf;
surf.create(TEXT("file.bmp")); //Here ReturnCode::OK
pBackBuffer->bltFast(0,0,&surf;); //Here ReturnCode::INVALID_COORD (Code: 2)
Here is a picture:
http://psi.teoretiki.ru/pics/file.bmp
And :
- Code:
aSurface surf;
Font font;
surf.create(TEXT("file.bmp"));
font.createFont(" 0123456",&surf;,RGB(248,3,248));//This line freeze a programm...
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.