Skip to content

Commit 79bbf43

Browse files
committed
Fragment shader stage was set to SDL_GPU_SHADERSTAGE_VERTEX
1 parent df31c2c commit 79bbf43

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: backends/imgui_impl_sdlgpu3.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -394,7 +394,7 @@ static void Imgui_ImplSDLGPU_CreateShaders()
394394

395395
SDL_GPUShaderCreateInfo fragment_shader_info = {};
396396
fragment_shader_info.entrypoint = "main";
397-
fragment_shader_info.stage = SDL_GPU_SHADERSTAGE_VERTEX;
397+
fragment_shader_info.stage = SDL_GPU_SHADERSTAGE_FRAGMENT;
398398
fragment_shader_info.num_samplers = 1;
399399
fragment_shader_info.num_storage_buffers = 0;
400400
fragment_shader_info.num_storage_textures = 0;

0 commit comments

Comments
 (0)