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