CursorControl pointer is null CIrrDeviceMacOSX.mm

You discovered a bug in the engine, and you are sure that it is not a problem of your code? Just post it in here. Please read the bug posting guidelines first.

Re: CursorControl pointer is null CIrrDeviceMacOSX.mm

Postby Donald Duck » Fri May 19, 2017 4:03 pm

MartinVee wrote:Did you get to try stepping into createWindow to see what's going on?


I found something strange in createWindow, I don't really know why that happens. I tried putting a breakpoint on line 715 in CIrrDeviceMacOSX.mm and there it said that OGLContext is not null, but the if statement at the next line (OGLContext != NULL || CreationParams.Driver == video::EDT_OPENGL) is false although OGLContext != NULL is true.

MartinVee wrote:Also, can you confirm that other OpenGL games are working inside your virtual machine?


I tried running Blender which uses OpenGL and it crashed just like my program. But I also have a Linux virtual machine and there Irrlicht and OpenGL work just fine. What should I do to get OpenGL to work?
User avatar
Donald Duck
 
Posts: 33
Joined: Sat Jan 21, 2017 6:51 pm
Location: Duckburg

Re: CursorControl pointer is null CIrrDeviceMacOSX.mm

Postby MartinVee » Fri May 19, 2017 4:40 pm

I get that you're using Virtual Box? Did you enable the 3D Acceleration setting in Display Settings for the irtual machine?

Also, you might want to read this : Hardware 3D acceleration (OpenGL and Direct3D 8/9).
User avatar
MartinVee
 
Posts: 84
Joined: Tue Aug 02, 2016 3:38 pm
Location: Québec, Canada

Re: CursorControl pointer is null CIrrDeviceMacOSX.mm

Postby Donald Duck » Fri May 19, 2017 6:38 pm

I tried enabling 3D acceleration for the Mac virtual machine but it didn't change anything. The page you linked to says it doesn't work for Mac guests:

It is only available for certain Windows, Linux and Solaris guests.
User avatar
Donald Duck
 
Posts: 33
Joined: Sat Jan 21, 2017 6:51 pm
Location: Duckburg

Re: CursorControl pointer is null CIrrDeviceMacOSX.mm

Postby MartinVee » Fri May 19, 2017 6:58 pm

Well then, that's sad, but here's your answer.

I have to say I'm surprised that 3D acceleration can work at all with virtual machines. I thought that it requires far more access to the hardware than virtualization permits. Then again, that's good news as future iteration of Virtual Box could allow 3D acceleration to work with MacOSX.
User avatar
MartinVee
 
Posts: 84
Joined: Tue Aug 02, 2016 3:38 pm
Location: Québec, Canada

Previous

Return to Bug reports

Who is online

Users browsing this forum: No registered users and 1 guest