Sync SDL3 wiki -> header
This commit is contained in:
1 parent
f01b34fd8d
commit
202bd7b0ff
3 files changed
+9
-9
No files matched your search
@@ -2099,8 +2099,8 @@ extern DECLSPEC void *SDLCALL SDL_GetRenderMetalLayer(SDL_Renderer *renderer);
|
||||
* This function returns `void *`, so SDL doesn't have to include Metal's
|
||||
* headers, but it can be safely cast to an `id<MTLRenderCommandEncoder>`.
|
||||
*
|
||||
* This will return NULL if Metal refuses to give SDL a drawable to render
|
||||
* to, which might happen if the window is hidden/minimized/offscreen. This
|
||||
* This will return NULL if Metal refuses to give SDL a drawable to render to,
|
||||
* which might happen if the window is hidden/minimized/offscreen. This
|
||||
* doesn't apply to command encoders for render targets, just the window's
|
||||
* backbuffer. Check your return values!
|
||||
*
|
||||
|
||||
Reference in new issue
Block a user