israelCanul / rokon

Automatically exported from code.google.com/p/rokon
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

DrawableObject forceDrawType function #98

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Please provide any additional information below.

DrawableObject.java: forceDrawType function

public void forceDrawType(int drawType) {
        if(drawType == DrawPriority.VBO) {
            if(Graphics.isSupportsVBO()) {
                Debug.warning("Tried forcing DrawableObject to VBO, device does not support it");
                drawType = DrawPriority.NORMAL;
            }
        }
        forceDrawType = drawType;
    }

if(Graphics.isSupportsVBO()) , I think it's wrong, should be 
if(!Graphics.isSupportsVBO()) 

Original issue reported on code.google.com by rayjun...@gmail.com on 8 Jul 2010 at 8:53

GoogleCodeExporter commented 8 years ago
Well spotted, thanks. Fixed at my end, will be committed soon

Original comment by rtaylor205@gmail.com on 8 Jul 2010 at 11:28