stackgl/gl-texture2d — pull request #5 by hughsk (2014-09-11 21:16:43+00:00)
Title: Fix texture dimensions check

Re: commit 37adc2e341584c646a94235a390d1cef634c0672

The indices on the left-hand side of the comparison were switched, without
switching the right-hand side ones too.

As such, square textures would work but others would throw an error – this
should fix the problem.

Thanks! :)