Compile Fixes
@@ -48,15 +48,15 @@ class NullDriver extends Driver {
}
override function allocTexture( t : h3d.mat.Texture ) : Texture {
- return {};
+ return null;
override function allocIndexes( count : Int ) : IndexBuffer {
override function allocVertexes( m : ManagedBuffer ) : VertexBuffer {
@@ -36,7 +36,7 @@ class Texture2 extends hxsl.Shader {
public function new(?tex) {
super();
this.texture = tex;
- this.killAlphaThreshold = h3d.pass.Params.defaultKillAlphaThreshold;
+ this.killAlphaThreshold = h3d.mat.Defaults.defaultKillAlphaThreshold;