• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

Main repository of MikuMikuStudio


Commit MetaInfo

Revision0cb6513391a59ada3c7ea29e461e3fdd77a38c3d (tree)
Time2014-02-19 10:23:43
Authorkobayasi <kobayasi@pscn...>
Commiterkobayasi

Log Message

fix setTexture bug.

Change Summary

Incremental Difference

--- a/gdx/src/main/java/com/jme3/renderer/gdx/GdxRenderer.java
+++ b/gdx/src/main/java/com/jme3/renderer/gdx/GdxRenderer.java
@@ -2101,10 +2101,6 @@ public final class GdxRenderer implements Renderer {
21012101 }
21022102 public void setTexture(int unit, Texture tex) {
21032103 Image image = tex.getImage();
2104- // TODO
2105- if (image.getData().size() == 0 || image.getFormat() == null) {
2106- return;
2107- }
21082104 if (image.isUpdateNeeded()) {
21092105 // logger.warning("setTexture: isUpdateNeeded");
21102106 // if (image.getEfficentData() instanceof Bitmap) {