From af6d35afa7327ba89733b9b3841b842a37e1eec8 Mon Sep 17 00:00:00 2001 From: SimonDanisch Date: Fri, 3 Feb 2017 17:19:05 -0500 Subject: [PATCH] rely on GLAbstraction for N0f8 --- REQUIRE | 4 ++-- src/GLWindow.jl | 9 ++------- 2 files changed, 4 insertions(+), 9 deletions(-) diff --git a/REQUIRE b/REQUIRE index 17e223c..decf7b2 100644 --- a/REQUIRE +++ b/REQUIRE @@ -1,7 +1,7 @@ julia 0.5 ModernGL -GLAbstraction +GLAbstraction 0.3.1 GLFW Reactive GeometryTypes @@ -9,4 +9,4 @@ Compat 0.7.15 ColorTypes FixedPointNumbers FixedSizeArrays -FileIO \ No newline at end of file +FileIO diff --git a/src/GLWindow.jl b/src/GLWindow.jl index 390a9e4..fa3d28d 100755 --- a/src/GLWindow.jl +++ b/src/GLWindow.jl @@ -14,14 +14,9 @@ using Compat using FileIO import GLFW: Window, Monitor -import GLAbstraction.render -import GeometryTypes.widths +import GLAbstraction: render, N0f8 +import GeometryTypes: widths -if isdefined(FixedPointNumbers, :N0f8) - import FixedPointNumbers: N0f8 -else - const N0f8 = FixedPointNumbers.UFixed8 -end include("types.jl")