Application crashes without message when drawing 1/4-bit Bitmaps on Form-Canvas
Original Reporter info from Mantis: jc99
-
Reporter name: Joe care
Original Reporter info from Mantis: jc99
- Reporter name: Joe care
Description:
Had an Application (Asteroids) using 1-Bit Bitmaps to generate/display Graphics.
on Windows it was OK
on Linux/GTK2 App ended without Message.
Tracked it down to Form.Canvas.Draw(..,&LtPos;TBitmap>) Command.
When I changed the Bitmap to a 15/24-Bit Pixelformat, it works.
So is there a Problem with Linux/GTK2 and 1-bit or 4-bit Bitmaps ?
Steps to reproduce:
Make a Form.
In OnCreate create a 1bit(b/w) bitmap.
In OnPaint draw Bitmap on Canvas.
Compile-Start App
Additional information:
My Linux-VM is not running at the moment.
Will post a test-poject later.
Mantis conversion info:
- Mantis ID: 28098
- Platform: Linux/GTK2
- Version: 1.4