Page MenuHomeWildfire Games

Make GLES mode work on Mesa

Authored by linkmauve on Sat, Nov 30, 3:20 PM.



This fixes various GLES 2.0 issues that prevented 0ad from building on Mesa, and from running on Intel’s Iris driver.

Test Plan
  • Gather as many GLES 2.0-compatible computers.
  • Build 0ad for them.
  • Run 0ad and check it works fine.

Event Timeline

linkmauve created this revision.Sat, Nov 30, 3:20 PM
Owners added a subscriber: Restricted Owners Package.Sat, Nov 30, 3:20 PM

Successful build - Chance fights ever on the side of the prudent.

Link to build:

Successful build - Chance fights ever on the side of the prudent.

Linter detected issues:
Executing section Source...

|   1| /*·Copyright·(C)·2013·Wildfire·Games.
|    | [NORMAL] LicenseYearBear:
|    | License should have "2019" year instead of "2013"
Executing section JS...
Executing section cli...

Link to build:

JoshuaJB accepted this revision.Sun, Dec 1, 11:36 PM
JoshuaJB added a subscriber: JoshuaJB.

Thanks you so much for taking a look at this! Strong GL ES support has been on my wishlist for a long time. If the minimap still doesn't support GL ES (it didn't last I looked), I have a patch from years that could be salvaged rather than starting from scratch.


What exactly is there TODO about this?

This revision is now accepted and ready to land.Sun, Dec 1, 11:36 PM

The minimap looks correct atm, the entire game looks like it only needs some polish before it looks identical to the GL version, on Intel. :)