mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-10-19 13:38:05 +00:00
gl_shader_gen: Make ShaderSetup's constructor explicit
Prevents implicit conversions.
This commit is contained in:
parent
adb089c816
commit
98e5080859
1 changed files with 1 additions and 1 deletions
|
@ -115,7 +115,7 @@ struct ShaderEntries {
|
||||||
using ProgramResult = std::pair<std::string, ShaderEntries>;
|
using ProgramResult = std::pair<std::string, ShaderEntries>;
|
||||||
|
|
||||||
struct ShaderSetup {
|
struct ShaderSetup {
|
||||||
ShaderSetup(ProgramCode program_code) {
|
explicit ShaderSetup(ProgramCode program_code) {
|
||||||
program.code = std::move(program_code);
|
program.code = std::move(program_code);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue