Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc
Commits
2d6e30b5
Commit
2d6e30b5
authored
Mar 05, 2014
by
Luca Barbato
Committed by
Jean-Baptiste Kempf
Mar 24, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
contrib: Unbreak sdl with osx 10.7 and later
Signed-off-by:
Jean-Baptiste Kempf
<
jb@videolan.org
>
parent
5384c38e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
0 deletions
+13
-0
contrib/src/sdl/direct_palette_ref.diff
contrib/src/sdl/direct_palette_ref.diff
+12
-0
contrib/src/sdl/rules.mak
contrib/src/sdl/rules.mak
+1
-0
No files found.
contrib/src/sdl/direct_palette_ref.diff
0 → 100644
View file @
2d6e30b5
--- sdl/src/video/quartz/SDL_QuartzVideo.h.orig 2014-03-05 14:09:28.000000000 +0100
+++ sdl/src/video/quartz/SDL_QuartzVideo.h 2014-03-05 14:09:45.000000000 +0100
@@ -91,7 +91,9 @@
CGDirectDisplayID display; /* 0 == main display (only support single display) */
const void *mode; /* current mode of the display */
const void *save_mode; /* original mode of the display */
+#if (MAC_OS_X_VERSION_MIN_REQUIRED < 1070)
CGDirectPaletteRef palette; /* palette of an 8-bit display */
+#endif
NSOpenGLContext *gl_context; /* OpenGL rendering context */
NSGraphicsContext *nsgfx_context; /* Cocoa graphics context */
Uint32 width, height, bpp; /* frequently used data about the display */
contrib/src/sdl/rules.mak
View file @
2d6e30b5
...
@@ -15,6 +15,7 @@ $(TARBALLS)/SDL-$(SDL_VERSION).tar.gz:
...
@@ -15,6 +15,7 @@ $(TARBALLS)/SDL-$(SDL_VERSION).tar.gz:
sdl
:
SDL-$(SDL_VERSION).tar.gz .sum-sdl
sdl
:
SDL-$(SDL_VERSION).tar.gz .sum-sdl
$(UNPACK)
$(UNPACK)
$(APPLY)
$(SRC)
/sdl/direct_palette_ref.diff
$(MOVE)
$(MOVE)
SDLCONF
:=
$(HOSTCONF)
\
SDLCONF
:=
$(HOSTCONF)
\
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment