浏览代码

and fix another minor bug in the new effect file

jp9000 12 年之前
父节点
当前提交
fa0a65a41c
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      build/data/effects/default.effect

+ 1 - 1
build/data/effects/default.effect

@@ -1,6 +1,6 @@
 uniform float4x4 ViewProj;
 uniform float4x4 yuv_matrix;
-texture2d tex;
+uniform texture2d tex;
 
 sampler_state def_sampler {
 	Filter   = Linear;