Skip to content

Commit

Permalink
Minor tweak to UInt enum usage and also update to haxelib info for 1.…
Browse files Browse the repository at this point in the history
…0.4-alpha
  • Loading branch information
Greg209 committed Oct 1, 2014
1 parent 58a2064 commit 9c3d004
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions backends/html5/openfl/display3D/Context3D.hx
Original file line number Diff line number Diff line change
Expand Up @@ -432,8 +432,8 @@ class Context3D
supportsAnisotropy = (ext != null);
anisotropySupportTested = true;

GL.texParameterf(GL.TEXTURE_2D, 0x84FE, maxSupportedAnisotropy);
maxSupportedAnisotropy = GL.getTexParameter(GL.TEXTURE_2D, 0x84FE);
GL.texParameterf(GL.TEXTURE_2D, TEXTURE_MAX_ANISOTROPY_EXT, maxSupportedAnisotropy);
maxSupportedAnisotropy = GL.getTexParameter(GL.TEXTURE_2D, TEXTURE_MAX_ANISOTROPY_EXT);
}

if (Std.is (texture, openfl.display3D.textures.Texture)) {
Expand Down
4 changes: 2 additions & 2 deletions backends/native/openfl/display3D/Context3D.hx
Original file line number Diff line number Diff line change
Expand Up @@ -436,8 +436,8 @@ class Context3D
supportsAnisotropy = (GL.getSupportedExtensions().indexOf("GL_EXT_texture_filter_anisotropic")!=-1);
anisotropySupportTested = true;

GL.texParameterf(GL.TEXTURE_2D, 0x84FE, maxSupportedAnisotropy);
maxSupportedAnisotropy = GL.getTexParameter(GL.TEXTURE_2D, 0x84FE);
GL.texParameterf(GL.TEXTURE_2D, TEXTURE_MAX_ANISOTROPY_EXT, maxSupportedAnisotropy);
maxSupportedAnisotropy = GL.getTexParameter(GL.TEXTURE_2D, TEXTURE_MAX_ANISOTROPY_EXT);
}

if (Std.is (texture, openfl.display3D.textures.Texture)) {
Expand Down
4 changes: 2 additions & 2 deletions haxelib.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
"license": "MIT",
"tags": [ "away3d", "3d", "engine", "openfl", "cross", "cpp", "flash", "game", "js", "web", "ios", "android" ],
"description": "Away3D is an open source, real time 3D engine for the Flash Platform and has been ported to OpenFL 2.x/Haxe",
"version": "1.0.3-alpha",
"releasenote": "Fixes for mouse interaction",
"version": "1.0.4-alpha",
"releasenote": "Addition of GPU mipmap generation for native & HTML5 targets and support for anisotropic filtering. Other build fixes.",
"contributors": [ "Greg209" ],
"dependencies": {
"openfl": "2.0.1"
Expand Down

0 comments on commit 9c3d004

Please sign in to comment.