Comments (6)
Good catch, thank you.
from sdl.
I found this issue while trying to use SDL_GetWindowSizeInPixels
, as it kept putting weird data into the passed pointers.
I tried patching it myself, but I couldn't come up with a simple solution, so I just posted this issue 😅
from sdl.
Yep, it'll take some thought. Thanks for posting!
from sdl.
I think this will work, please let me know if you find any problems with it!
from sdl.
Thanks a lot, it fixes the issue!
from sdl.
Great! :)
from sdl.
Related Issues (20)
- Android safe area problems
- Android `setOrientationBis` issues HOT 6
- Automatic cleanup after 1 second in `SDL_FreeLater` can easily cause use after free bugs HOT 5
- Static compile on macOS with Swift with CMake HOT 10
- define of SDL_GetKeyboardState cannot avoid discarded-qualifiers warning HOT 4
- [Question - SDL2] Opt-out of "forcing X11" mech with GLEW&Co? HOT 4
- SDL3: SDL_GetDisplayBounds fails for 0th display HOT 1
- New temporary memory management can't work with threads HOT 1
- `SDL_GetWindowSizeInPixels` may fail HOT 1
- SDL_RenderTexture9Grid enhancement / freature request HOT 5
- Issue with FPS Capping at Monitor Refresh Rate Even When VSync is Disabled HOT 3
- Occasional segfault in testautomation: mouse_warpMouseInWindow HOT 7
- [SDL3] opengl issue HOT 2
- testautomation --filter render_testBlendModes fails with vulkan renderer HOT 1
- [SDL3] testffmpeg render issue HOT 1
- Window content does not exactly fit window size HOT 6
- SDL_Log does not write to Emscripten console HOT 2
- Long SDL_Init() time when Haptics enabled HOT 4
- SDL3 - iOS needs SDL_HINT_MOUSE_EMULATE_WARP_WITH_RELATIVE=0 if mouse pointer is hidden HOT 20
- Pushes on my fork of SDL now trigger the build actions HOT 9
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sdl.