Comments (3)
I don't think SDL will compile if you make that change, but you're welcome to try it.
from sdl.
I grep'ed around in the SDL headers and could find these void pointer typedefs:
Lines 210 to 212 in 51902d4
Line 44 in 51902d4
All of these could benefit from the added type safety, but users will need explicitly add a cast when using native GL/Metal/macos types.
from sdl.
The EGL types are actually void *
. The metal one is void *
so it can be easily assigned to a Metal view in Objective C code. Although, I think it still needs a cast.
from sdl.
Related Issues (20)
- Random numbers HOT 3
- Set gain value in audio streams HOT 1
- Issues with multiple opengl contexts on iOS
- [emscripten] SDL_WindowID=0 when relasing mouse button outside the canvas
- Is it right use the same value for the left right rumble in SDL/src/joystick/hidapi/SDL_hidapi_switch.c HOT 3
- CMake: SDL3 headers not found on macOS HOT 10
- macOS: SDL_LEAN_AND_MEAN is incompatible with SDL_render_metal HOT 1
- SDL_SetRelativeMouseMode specific to a window
- Why is SDL3's version 2.30.x HOT 3
- SDL_ShowOpenFileDialog slower with larger window HOT 4
- Alt-Gr is broken again. HOT 3
- androidbuild.sh broken HOT 4
- [Question][SDL3] 'SDL_Log' shows duplicated message. HOT 10
- SDL2 2.30.2 fullscreen shows only blank screen on Debian Linux testing (trixie) HOT 3
- SDL3 Camera Frame Rate Limited to 20 FPS on Apple M1 HOT 2
- Incorrect header in wav files can lead to enormous memory allocations (+4gb) HOT 4
- Issue with Rate Selection in COREMEDIA_OpenDevice Due to Float Comparison
- SDL_CopyPath file system API HOT 1
- SDL_qsort stack buffer overflow with non-transitive comparison function HOT 8
- "export SDL_RENDER_DRIVER=software" does not force software render HOT 3
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.