Sha256: 14236158c666c0f480a7201be3d232d769261b438a72d40b95b4b510c7b6011e
Contents?: true
Size: 245 Bytes
Versions: 1
Compression:
Stored size: 245 Bytes
Contents
# frozen_string_literal: true module Parasol # :nodoc: module OpenGLContext def require_opengl_context! return unless GLFW.GetCurrentContext.null? fail Parasol::ShaderError, "No OpenGL context available." end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
parasol-0.1.0 | lib/parasol/opengl_context.rb |