Demo tobitmap no longer rendes the bitmap when either
'Render To Bitmap', 'Bitmap x2', 'Bitmap 300 dpi' or 'Bitmap 600 dpi'
Buttons are used.
The error 'tobimap.exe has encountered a probem and needs to close.' etc.
is displayed.
Stop on Delphi Exceptions debug option is of no help.
No error message is displayed if
// GLSceneViewer1.Buffer.RenderToBitmap(bmp, Round(96*scale));
is commented out. And of course no bitmap is produced.
Eric Hardinge
Yes, I know. That's my mistake, I thought that wgl functions do not depend on the context, but it is not. I will correct it soon.
I also wonder why people use this feature, because there only software rendering.
Thank you for your rapid response. I constantly wonder when you find time to sleep.
Your comment regarding its use leads me to ask you what would you recommend as an alternative?
Use TGLMemoryViever - it faster and have fully OpenGL. Or TGLFBORenderer
I've got time to sleep, and time to engine found on main work and a couple of hours in the evening. I also wonder where Grange found time :)
Thank you for your advice. I have been off line for the past few days as a strong wind storm had cut power to my computer; no electricity , water or phone.
Oh my God, thank you for quietly place where I live ^_^
Lets move disscusion to https://sourceforge.net/apps/phpbb/glscene/viewtopic.php?f=6&t=64