PX4 / jMAVSim

Simple multirotor simulator with MAVLink protocol support
BSD 3-Clause "New" or "Revised" License
84 stars 208 forks source link

Fix Sky texture on VMware #63

Closed bkueng closed 6 years ago

bkueng commented 6 years ago

The texture problem in https://github.com/PX4/Firmware/issues/8229 seems to be a bug in the VMware graphics driver. This should fix it.

Thanks @MaEtUgR and @hamishwillee for helping me to debug & fix this.

hamishwillee commented 6 years ago

Hi @bkueng

It didn't for me:

BUILD SUCCESSFUL
Total time: 2 seconds
ubuntu@ubuntu:~/jMAVSim$ cd out/production
ubuntu@ubuntu:~/jMAVSim/out/production$ java -Djava.ext.dirs= -jar jmavsim_run.jar
Options parsed, starting Sim.
Starting GUI...
3D [dev] 1.6.0-pre12-daily-experimental daily

libEGL warning: bad surface attribute 0x3080
libEGL warning: bad surface attribute 0x3080
libEGL warning: bad surface attribute 0x3080
libEGL warning: bad surface attribute 0x3080

Appearance the same as before. I followed exactly the same build process as for previous texture test on the new branch.

MaEtUgR commented 6 years ago

@hamishwillee Sorry, it was my fault... I had a leftover typo. Can you give this branch with the updated commit a test again?

hamishwillee commented 6 years ago

Thanks, yes, that works :-)