Skip to content

Commit

Permalink
libsdl2: Remove BDirectWindow, fix OpenGL handling
Browse files Browse the repository at this point in the history
* BDirectWindow changed to BWindow.
* Implemented fullscreen.
* Introduced view for non-OpenGL drawing.
* Drawing thread removed, window thread is used instead.
* Use BGLView as OpenGL context. Implement proper context switching and OpenGL
    locking. Only one context per window is supported. BGLView should be not
    deleted when window is closed, it deleted when deleting context.
  • Loading branch information
X547 committed Feb 2, 2020
1 parent 8628975 commit 729dd67
Show file tree
Hide file tree
Showing 2 changed files with 1,086 additions and 42 deletions.
2 changes: 1 addition & 1 deletion media-libs/libsdl2/libsdl2-2.0.10.recipe
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ software, emulators, and popular games."
HOMEPAGE="https://www.libsdl.org/"
COPYRIGHT="1997-2018 Sam Lantinga"
LICENSE="Zlib"
REVISION="1"
REVISION="2"
SOURCE_URI="https://www.libsdl.org/release/SDL2-$portVersion.tar.gz"
CHECKSUM_SHA256="b4656c13a1f0d0023ae2f4a9cf08ec92fffb464e0f24238337784159b8b91d57"
SOURCE_DIR="SDL2-$portVersion"
Expand Down

0 comments on commit 729dd67

Please sign in to comment.