Fix 'render_opengl' import

Import 'render_opengl' only when feature 'render-opengl' is enabled
This commit is contained in:
biroder 2023-02-06 10:23:39 +02:00 committed by GitHub
parent 90df8faa7a
commit 979909faa8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -32,6 +32,7 @@ use crate::framework::filesystem;
use crate::framework::gamepad::{Axis, Button, GamepadType};
use crate::framework::graphics::BlendMode;
use crate::framework::keyboard::ScanCode;
#[cfg(feature = "render-opengl")]
use crate::framework::render_opengl::{GLContext, OpenGLRenderer};
use crate::framework::ui::init_imgui;
use crate::game::shared_game_state::WindowMode;