   (:import
     (java.lang.reflect Field)
     (org.lwjgl BufferUtils)
-    (java.nio FloatBuffer ByteBuffer)
+    (java.nio Buffer FloatBuffer ByteBuffer)
     (java.nio.charset Charset)
     (org.lwjgl.opengl GL GLUtil GL11 GL12 GL13 GL14 GL15 GL20 GL30 GL32)
     (org.lwjgl.glfw GLFW GLFWVidMode GLFWVidMode$Buffer GLFWImage GLFWImage$Buffer

                                            0.0 0.0])
        vertices-buffer       (-> (BufferUtils/createFloatBuffer (count vertices))
                                  (.put vertices)
                                  (.flip))
        texture-coords-buffer (-> (BufferUtils/createFloatBuffer (count texture-coords))
                                  (.put texture-coords)
                                  (.flip))
        vertices-count        (count vertices)
        texture-coords-count  (count texture-coords)
        vao-id                (GL30/glGenVertexArrays)

            (assert (not (nil? font-texture-width)) "font-texture-width nil")
            (assert (not (nil? font-texture-height)) "font-texture-height")
            (assert (not (nil? font-texture)) "font-texture nil")
            (flip-byte-buffer glyph-image-data)
            (flip-byte-buffer fg-image-data)
            (flip-byte-buffer bg-image-data)
            ;(log/info character->transparent)
            (GL14/glBlendEquation (gl-enum-value gl-blend-equation))
            (GL11/glBlendFunc (gl-enum-value (first gl-blend-func))
