Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
Accelerator
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Type
/
to search
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
bdach
/
SDL
Public
forked from
libsdl-org/SDL
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
Code
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Projects
Security and quality
Insights
Commits
Breadcrumbs
History for
SDL
src
video
SDL_video.c
on
SDL2
User selector
All users
All time
Commit history
Commits on Mar 7, 2023
If we're not the current fullscreen window and we don't want to be fullscreen, don't touch the current video mode
Show description for 1bd9ebf
slouken
committed
1bd9ebf
View commit details
Copy full SHA for 1bd9ebf
View code at this point
Browse repository at this point
Fixed which window we check flags for when updating fullscreen mode
slouken
committed
e0e7941
View commit details
Copy full SHA for e0e7941
View code at this point
Browse repository at this point
Commits on Feb 10, 2023
emscripten: Update deprecated calls to EM_ASM*.
Show description for 7d2012a
waywardmonkeys
authored and
slouken
committed
7d2012a
View commit details
Copy full SHA for 7d2012a
View code at this point
Browse repository at this point
Backport simplify flags PR #7220
1bsyl
authored and
slouken
committed
17515f4
View commit details
Copy full SHA for 17515f4
View code at this point
Browse repository at this point
Commits on Jan 9, 2023
Updated copyright for 2023
slouken
committed
0479df5
View commit details
Copy full SHA for 0479df5
View code at this point
Browse repository at this point
Commits on Dec 13, 2022
Detect display change when fullscreen desktop windows move displays
Show description for c709741
slouken
committed
c709741
View commit details
Copy full SHA for c709741
View code at this point
Browse repository at this point
Commits on Dec 9, 2022
Make sure the display list is up to date for window placement
slouken
committed
ab479b4
View commit details
Copy full SHA for ab479b4
View code at this point
Browse repository at this point
Commits on Dec 8, 2022
Fixed memory leak when removing existing displays
slouken
committed
cfc7cac
View commit details
Copy full SHA for cfc7cac
View code at this point
Browse repository at this point
Commits on Dec 1, 2022
Clang-Tidy fixes (#6725)
Show description for d0bbfdb
FtZPetruska
authored and
slouken
committed
d0bbfdb
View commit details
Copy full SHA for d0bbfdb
View code at this point
Browse repository at this point
Commits on Nov 30, 2022
Fixed crash if GetRectDisplayIndex() is called before SDL_VideoInit()
slouken
committed
d87048f
View commit details
Copy full SHA for d87048f
View code at this point
Browse repository at this point
Update for SDL3 coding style (#6717)
Show description for b8d85c6
slouken
committed
b8d85c6
View commit details
Copy full SHA for b8d85c6
View code at this point
Browse repository at this point
Commits on Nov 28, 2022
Cleanup add brace (#6545)
Show description for fb0ce37
1bsyl
authored and
slouken
committed
fb0ce37
View commit details
Copy full SHA for fb0ce37
View code at this point
Browse repository at this point
Commits on Nov 17, 2022
Remove unneeded semicolon
1bsyl
committed
ddad901
View commit details
Copy full SHA for ddad901
View code at this point
Browse repository at this point
ensure that SDL2 does not set conflicting window flags (thanks @pionere!)
slouken
committed
fcc994e
View commit details
Copy full SHA for fcc994e
View code at this point
Browse repository at this point
Commits on Nov 16, 2022
Remove un-needed check for NULL pointer. They were previously checked just before.
1bsyl
committed
1d7966d
View commit details
Copy full SHA for 1d7966d
View code at this point
Browse repository at this point
Fixes made in response to running a static code analyzer under MS Windows.
Show description for ec58a81
ulatekh
authored and
icculus
committed
ec58a81
View commit details
Copy full SHA for ec58a81
View code at this point
Browse repository at this point
Commits on Nov 15, 2022
Don't recreate the window when creating a Metal renderer on an OpenGL window.
Show description for 70656b1
slouken
committed
70656b1
View commit details
Copy full SHA for 70656b1
View code at this point
Browse repository at this point
Commits on Nov 14, 2022
video: check graphics flags the same way in SDL_RecreateWindow as in SDL_CreateWindow
Show description for dad8df3
pionere
authored and
slouken
committed
dad8df3
View commit details
Copy full SHA for dad8df3
View code at this point
Browse repository at this point
Commits on Nov 13, 2022
video: check graphics flags the same way as the type flags
pionere
authored and
slouken
committed
5f2a123
View commit details
Copy full SHA for 5f2a123
View code at this point
Browse repository at this point
Commits on Nov 12, 2022
video: simplify window-type check in SDL_CreateWindow
pionere
authored and
slouken
committed
22354b4
View commit details
Copy full SHA for 22354b4
View code at this point
Browse repository at this point
Commits on Nov 11, 2022
video: sync Metal_CreateView with GL_CreateContext and Vulkan_CreateSurface
Show description for d09edcb
pionere
authored and
slouken
committed
d09edcb
View commit details
Copy full SHA for d09edcb
View code at this point
Browse repository at this point
video: add NOT_AN_OPENGL_WINDOW define (similar to NOT_A_VULKAN_WINDOW)
pionere
authored and
slouken
committed
b71d927
View commit details
Copy full SHA for b71d927
View code at this point
Browse repository at this point
video: add SDL_DllNotSupported
Show description for 36c6ed4
pionere
authored and
slouken
committed
36c6ed4
View commit details
Copy full SHA for 36c6ed4
View code at this point
Browse repository at this point
Commits on Nov 10, 2022
add SDL_ContextNotSupported and validate flags in SDL_RecreateWindow similar to SDL_CreateWindow
pionere
authored and
slouken
committed
29cafa9
View commit details
Copy full SHA for 29cafa9
View code at this point
Browse repository at this point
Commits on Nov 9, 2022
video: Add some braces to match SDL coding style.
icculus
committed
1008cc8
View commit details
Copy full SHA for 1008cc8
View code at this point
Browse repository at this point
solve FIXMEs in SDL_video.c
pionere
authored and
icculus
committed
ac3349f
View commit details
Copy full SHA for ac3349f
View code at this point
Browse repository at this point
Commits on Oct 27, 2022
video: Don't use texture framebuffer on Windows Subsystem for Linux.
Show description for 9e8d2f3
icculus
committed
9e8d2f3
View commit details
Copy full SHA for 9e8d2f3
View code at this point
Browse repository at this point
Commits on Oct 10, 2022
N3DS: Deduce screen from window's display.
Show description for f978570
FtZPetruska
authored and
slouken
committed
f978570
View commit details
Copy full SHA for f978570
View code at this point
Browse repository at this point
N3DS port (squashed)
Show description for 6552753
FtZPetruska
authored and
slouken
committed
6552753
View commit details
Copy full SHA for 6552753
View code at this point
Browse repository at this point
Commits on Oct 4, 2022
SDL_video.c: fix variable 'i' may be uninitialized when used here "_this->name = bootstrap[i]->name;"
1bsyl
committed
eac3d6d
View commit details
Copy full SHA for eac3d6d
View code at this point
Browse repository at this point
Use the correct platform defines
slouken
committed
9e3c4b9
View commit details
Copy full SHA for 9e3c4b9
View code at this point
Browse repository at this point
Commits on Sep 28, 2022
video: check for "software" with SDL_HINT_FRAMEBUFFER_ACCELERATION.
Show description for a2c5757
icculus
committed
a2c5757
View commit details
Copy full SHA for a2c5757
View code at this point
Browse repository at this point
Commits on Sep 16, 2022
Added support for simulated vsync in the renderer
Show description for d744aaf
slouken
committed
d744aaf
View commit details
Copy full SHA for d744aaf
View code at this point
Browse repository at this point
Commits on Sep 9, 2022
video: Make the mode switching function a NOP if mode switching is disabled
Show description for 69e4c77
Kontrabant
authored and
slouken
committed
69e4c77
View commit details
Copy full SHA for 69e4c77
View code at this point
Browse repository at this point
Commits on Sep 6, 2022
Fix https://github.com/libsdl-org/SDL/issues/6191
sezero
committed
5ffede3
View commit details
Copy full SHA for 5ffede3
View code at this point
Browse repository at this point
Previous
Next
You can’t perform that action at this time.