mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-06-04 19:07:40 +00:00
SDL_test: add --gpu option
This commit is contained in:
parent
8ce2074d08
commit
88fe52df7b
3 changed files with 13 additions and 2 deletions
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
Copyright (C) 1997-2022 Sam Lantinga <slouken@libsdl.org>
|
||||
Copyright (C) 1997-2024 Sam Lantinga <slouken@libsdl.org>
|
||||
|
||||
This software is provided 'as-is', without any express or implied
|
||||
warranty. In no event will the authors be held liable for any damages
|
||||
|
@ -470,7 +470,7 @@ init_render_state(int msaa)
|
|||
gpu_device = SDL_CreateGPUDevice(
|
||||
TESTGPU_SUPPORTED_FORMATS,
|
||||
SDL_TRUE,
|
||||
NULL
|
||||
state->gpudriver
|
||||
);
|
||||
CHECK_CREATE(gpu_device, "GPU device");
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue