From d8dc67b5d1c16711a6e26279ecbc3630438db00a Mon Sep 17 00:00:00 2001 From: Sutou Kouhei Date: Wed, 18 Sep 2024 20:50:28 +0900 Subject: [PATCH] drawing-area: remove GL integration We need to use Gtk::GLArea for GL. --- lib/rabbit/renderer/display/drawing-area-primitive.rb | 6 ------ 1 file changed, 6 deletions(-) diff --git a/lib/rabbit/renderer/display/drawing-area-primitive.rb b/lib/rabbit/renderer/display/drawing-area-primitive.rb index 9c01a7c6..c7af23c8 100644 --- a/lib/rabbit/renderer/display/drawing-area-primitive.rb +++ b/lib/rabbit/renderer/display/drawing-area-primitive.rb @@ -20,7 +20,6 @@ require "rabbit/renderer/engine" require "rabbit/renderer/display/base" require 'rabbit/renderer/display/cursor' -require 'rabbit/renderer/display/gl' module Rabbit module Renderer @@ -29,7 +28,6 @@ module DrawingAreaPrimitive include Base include Cursor - include GL attr_accessor :filename def initialize(canvas) @@ -43,13 +41,9 @@ def attach_to(window, container=nil) super set_configure_event - - init_gl(@area) end def detach - finalize_gl - if !@window.destroyed? and @configure_signal_id @window.signal_handler_disconnect(@configure_signal_id) @configure_signal_id = nil