Skip to content

Commit

Permalink
Normalize GL language versions
Browse files Browse the repository at this point in the history
  • Loading branch information
cwfitzgerald committed Oct 23, 2023
1 parent 3ed37c3 commit 6fc2973
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion wgpu-hal/src/gles/adapter.rs
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ impl super::Adapter {

let shading_language_version = {
let sl_version = unsafe { gl.get_parameter_string(glow::SHADING_LANGUAGE_VERSION) };
log::info!("SL version: {}", &sl_version);
log::trace!("SL version: {}", &sl_version);
if full_ver.is_some() {
let (sl_major, sl_minor) = Self::parse_full_version(&sl_version).ok()?;
let mut value = sl_major as u16 * 100 + sl_minor as u16 * 10;
Expand Down
2 changes: 1 addition & 1 deletion wgpu-hal/src/gles/wgl.rs
Original file line number Diff line number Diff line change
Expand Up @@ -405,7 +405,7 @@ impl crate::Instance<super::Api> for Instance {
}

if desc.flags.contains(InstanceFlags::VALIDATION) && gl.supports_debug() {
log::info!("Enabling GL debug output");
log::debug!("Enabling GL debug output");
unsafe { gl.enable(glow::DEBUG_OUTPUT) };
unsafe { gl.debug_message_callback(super::gl_debug_message_callback) };
}
Expand Down

0 comments on commit 6fc2973

Please sign in to comment.