Skip to content

Commit

Permalink
check for issues after doing shady stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
captain0xff committed Oct 30, 2024
1 parent e25680e commit aec5435
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/testgputext.c
Original file line number Diff line number Diff line change
Expand Up @@ -241,8 +241,8 @@ int main(int argc, char *argv[])
context.device = check_error_ptr(SDL_CreateGPUDevice(SUPPORTED_SHADER_FORMATS, true, NULL));
check_error_bool(SDL_ClaimWindowForGPUDevice(context.device, context.window));

SDL_GPUShader *vertex_shader = load_shader(context.device, true, 0, 1, 0, 0);
SDL_GPUShader *fragment_shader = load_shader(context.device, false, 1, 0, 0, 0);
SDL_GPUShader *vertex_shader = check_error_ptr(load_shader(context.device, true, 0, 1, 0, 0));
SDL_GPUShader *fragment_shader = check_error_ptr(load_shader(context.device, false, 1, 0, 0, 0));

SDL_GPUGraphicsPipelineCreateInfo pipeline_create_info = {
.target_info = {
Expand Down

0 comments on commit aec5435

Please sign in to comment.