mirror of
https://github.com/FyroxEngine/Fyrox.git
synced 2026-10-12 02:02:20 +00:00
print gl extensions list on start
This commit is contained in:
@@ -81,6 +81,7 @@ use crate::{
|
||||
utils::log::{Log, MessageKind},
|
||||
};
|
||||
use fxhash::FxHashMap;
|
||||
use glow::HasContext;
|
||||
use serde::{Deserialize, Serialize};
|
||||
use std::{
|
||||
cell::RefCell,
|
||||
@@ -1059,6 +1060,12 @@ impl Renderer {
|
||||
// it must have constant address.
|
||||
let mut state = Box::new(PipelineState::new(context));
|
||||
|
||||
// Dump available GL extensions to the log, this will help debugging graphical issues.
|
||||
Log::info(format!(
|
||||
"Supported GL Extensions: {:?}",
|
||||
state.gl.supported_extensions()
|
||||
));
|
||||
|
||||
Ok(Self {
|
||||
backbuffer: FrameBuffer::backbuffer(&mut state),
|
||||
frame_size,
|
||||
|
||||
Reference in New Issue
Block a user