Skip to content

Commit ecee8b1

Browse files
committed
Force using wglCreateContextAttribsARB for OpenGL context creation
1 parent 0893469 commit ecee8b1

File tree

4 files changed

+277
-264
lines changed

4 files changed

+277
-264
lines changed

azul-core/src/gl.rs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -574,8 +574,14 @@ pub fn gl_textures_remove_active_pipeline(document_id: &DocumentId) {
574574
/// Destroys all textures from the pipeline `pipeline_id` where the texture is
575575
/// **older** than the given `epoch`.
576576
pub fn gl_textures_remove_epochs_from_pipeline(document_id: &DocumentId, epoch: Epoch) {
577+
578+
println!("flushing epoch: {:?}", epoch);
579+
580+
577581
// TODO: Handle overflow of Epochs correctly (low priority)
578582
unsafe {
583+
println!("active gl textures: {:#?}", ACTIVE_GL_TEXTURES.as_ref());
584+
579585
let active_textures = match ACTIVE_GL_TEXTURES.as_mut() {
580586
Some(s) => s,
581587
None => return,

0 commit comments

Comments
 (0)