ofDrawRectRounded() doesn't draw correctly on Android emulators

Hi, I found out ofDrawRectRounded() doesn’t draw correctly on Android emulators.

Here’s the code I used to test.

void ofApp::draw()
{
    ofSetColor(255,0,0);
    ofRectMode(OF_RECTMODE_CENTER);
    ofTranslate(ofGetWidth()/2, ofGetHeight()/2);
    ofDrawRectRounded(0, 0, ofGetWidth()/4, ofGetHeight()/4, 20);
}

And this is the result I got

I tested this on 3 different Android emulators and all results were the same.
But when I tested this on the real device, there was no such issue.

In this case, would this be something that I need to worry about?
Does anyone have the same experience?
I’m using Android Studio on Mac OSX 10.11.6

this might be a problem with the tessellator not working correctly on android emulator, can you open an issue on github

1 Like

I already did. Thanks!

https://github.com/openframeworks/openFrameworks/issues/5692