Skip to content

Commit

Permalink
Fix bad error message when OpenGL version is not fulfilled
Browse files Browse the repository at this point in the history
  • Loading branch information
dgud committed Sep 11, 2015
1 parent 9af12c6 commit 6450f61
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/wings.erl
Expand Up @@ -180,7 +180,7 @@ minor_gl_version() ->
case ets:lookup(wings_gl_ext, version) of
[{_,VerTuple}] when VerTuple < Req ->
fatal("Wings3D requires OpenGL ~p.~p or higher.",
[Minor,Major]);
[Major,Minor]);
_ ->
ok
end.
Expand Down

0 comments on commit 6450f61

Please sign in to comment.