BlackBox/Wine/OpenGL

Usage of the framework, compiler and tools

BlackBox/Wine/OpenGL

Postby Volkert » Mon May 12, 2014 2:53 pm

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
Volkert
 
Posts: 3
Joined: Fri Apr 04, 2014 8:29 pm
Location: Laufenburg, Germany

Re: BlackBox/Wine/OpenGL

Postby Ivan Denisov » Sat May 17, 2014 4:55 am

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.
User avatar
Ivan Denisov
 
Posts: 228
Joined: Tue Sep 17, 2013 12:21 am
Location: Krasnoyarsk, Russia

Re: BlackBox/Wine/OpenGL

Postby Volkert-1 » Fri Jan 13, 2017 7:00 pm

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
Volkert-1
 
Posts: 4
Joined: Fri Jan 13, 2017 6:50 pm

Re: BlackBox/Wine/OpenGL

Postby Ivan Denisov » Sat Jan 14, 2017 3:32 am

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.
User avatar
Ivan Denisov
 
Posts: 228
Joined: Tue Sep 17, 2013 12:21 am
Location: Krasnoyarsk, Russia

Re: BlackBox/Wine/OpenGL

Postby Volkert-1 » Sat Jan 14, 2017 6:37 am

Ok, looking forward to watch your tutorial :-)

Thanks,
Vokert
Volkert-1
 
Posts: 4
Joined: Fri Jan 13, 2017 6:50 pm

Re: BlackBox/Wine/OpenGL

Postby Volkert-1 » Mon Jan 30, 2017 3:21 pm

i tried with the latest wine (wine-2.0 (Staging). no crashes, but the colors are wrong ... Volkert
Volkert-1
 
Posts: 4
Joined: Fri Jan 13, 2017 6:50 pm


Return to Common questions

Who is online

Users browsing this forum: No registered users and 1 guest

cron