Skip to content

Commit

Permalink
Fix CompileOptions::mozangle()
Browse files Browse the repository at this point in the history
  • Loading branch information
sagudev committed Oct 19, 2023
1 parent b5043bd commit 1152fe6
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/shaders/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,6 @@ pub type CompileOptions = ShCompileOptions;
impl CompileOptions {
pub fn mozangle() -> Self {
let mut options = unsafe { CompileOptions::new() };
options.set_validateLoopIndexing(1); // SH_VALIDATE
options.set_objectCode(1);
options.set_variables(1); // For uniform_name_map()
options.set_emulateAbsIntFunction(1); // To workaround drivers
Expand Down

0 comments on commit 1152fe6

Please sign in to comment.