Main repository of MikuMikuStudio
リビジョン | 0cb6513391a59ada3c7ea29e461e3fdd77a38c3d (tree) |
---|---|
日時 | 2014-02-19 10:23:43 |
作者 | kobayasi <kobayasi@pscn...> |
コミッター | kobayasi |
fix setTexture bug.
@@ -2101,10 +2101,6 @@ public final class GdxRenderer implements Renderer { | ||
2101 | 2101 | } |
2102 | 2102 | public void setTexture(int unit, Texture tex) { |
2103 | 2103 | Image image = tex.getImage(); |
2104 | - // TODO | |
2105 | - if (image.getData().size() == 0 || image.getFormat() == null) { | |
2106 | - return; | |
2107 | - } | |
2108 | 2104 | if (image.isUpdateNeeded()) { |
2109 | 2105 | // logger.warning("setTexture: isUpdateNeeded"); |
2110 | 2106 | // if (image.getEfficentData() instanceof Bitmap) { |