We are currently migrating Bugzilla to GitHub issues.
Any changes made to the bug tracker now will be lost, so please do not post new bugs or make changes to them.
When we're done, all bug URLs will redirect to their equivalent location on the new bug tracker.

Bug 2579 - SDL fails to compile on Windows when only EGL+OpenGL ES defined
Summary: SDL fails to compile on Windows when only EGL+OpenGL ES defined
Status: RESOLVED FIXED
Alias: None
Product: SDL
Classification: Unclassified
Component: video (show other bugs)
Version: 2.0.3
Hardware: x86_64 Windows (All)
: P2 normal
Assignee: Sam Lantinga
QA Contact: Sam Lantinga
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-06-10 09:40 UTC by Mark Callow
Modified: 2014-06-22 16:49 UTC (History)
1 user (show)

See Also:


Attachments
patch to compile with EGL/ES2 support only (4.04 KB, text/plain)
2014-06-10 09:40 UTC, Mark Callow
Details
revised patch to compile with EGL/ES2 support only (1.98 KB, patch)
2014-06-17 08:02 UTC, Mark Callow
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Mark Callow 2014-06-10 09:40:51 UTC
Created attachment 1677 [details]
patch to compile with EGL/ES2 support only

Compiling with SDL_VIDEO_RENDER_OGL=0, SDL_VIDEO_OPENGL=0, SDL_VIDEO_OPENGL_WGL=0, SDL_VIDEO_RENDER_OGL_ES2=1, SDL_VIDEO_OPENGL_ES2=1 and SDL_VIDEO_OPENGL_EGL=1 set in SDL_config_windows.h fails.

A patch is attached. See bug #2570 for reasons you might want to compile this way.
Comment 1 Gabriel Jacobo 2014-06-10 12:55:40 UTC
The patch looks ok but it contains the "esimplementation_preference" which should be removed for this.
Comment 2 Mark Callow 2014-06-11 01:46:48 UTC
(In reply to Gabriel Jacobo from comment #1)
> The patch looks ok but it contains the "esimplementation_preference" which
> should be removed for this.

Yes. Sorry. I thought I'd deleted that from the patch.
Comment 3 Sam Lantinga 2014-06-15 20:24:31 UTC
Can you post an updated patch that doesn't have any extraneous changes?

Thanks!
Comment 4 Mark Callow 2014-06-17 08:02:44 UTC
Created attachment 1685 [details]
revised patch to compile with EGL/ES2 support only

Here it is.
Comment 5 Sam Lantinga 2014-06-22 16:49:45 UTC
Fixed, thanks!
https://hg.libsdl.org/SDL/rev/8333acde0b91