Page 1 of 1

BlackBox/Wine/OpenGL

Posted: Mon May 12, 2014 2:53 pm
by Volkert
Dear all,

i am trying BlackBox under Wine/Ubuntu (Windows free zone here ;-) ). It looks quite stable and fast, but the
OGL Subsystem (http://www.zinnamturm.eu/downloadsOS.htm#Ogl) seams not work with Wine.

Is there a way to tell Wine to support OpenGL?

BW,
Volkert

Re: BlackBox/Wine/OpenGL

Posted: Sat May 17, 2014 4:55 am
by Ivan Denisov
Volkert wrote:Is there a way to tell Wine to support OpenGL?
Wine has good support of OpenGL from the box.

You can find my lessons with that subsystem here:
http://oberoncore.ru/bbcc/subs/ogl/lessons
They are all working well with Wine.

I am using this OGL and SDL:
http://oberon.molpit.com/packs/Sdl.txt

If you will have questions, I will be happy to provide the support.

Re: BlackBox/Wine/OpenGL

Posted: Fri Jan 13, 2017 7:00 pm
by Volkert-1
i few days later ..... ;-)

With the latest BB1.7 (Ubuntu 16.04, Wine 1.6.2) i still get an "TRAP3" when using OGL. None of the OGL-Quick-Start Examples is working.

Here is were the examples are halting.

>> PROCEDURE OglContext.Init

>> bResult := WinApi.wglMakeCurrent(rc.dib.hdc, rc.hglrc);
>> ASSERT(bResult # WinApi.FALSE, 103);

No hints?

Volkert

Re: BlackBox/Wine/OpenGL

Posted: Sat Jan 14, 2017 3:32 am
by Ivan Denisov
The way to use OpenGL with Wine is different. You can not use it in MDI BlackBox windows context.
Separate windows should be created with SDL.
Also for Linux you can make native OpenGL application. I will make an video tutorial how to do this soon.

Re: BlackBox/Wine/OpenGL

Posted: Sat Jan 14, 2017 6:37 am
by Volkert-1
Ok, looking forward to watch your tutorial :-)

Thanks,
Vokert

Re: BlackBox/Wine/OpenGL

Posted: Mon Jan 30, 2017 3:21 pm
by Volkert-1
i tried with the latest wine (wine-2.0 (Staging). no crashes, but the colors are wrong ... Volkert