I solved it. I feel stupid now, I had taken the renderFrame function from QCAR's native code and forgot to comment out the glDisable(DEPTH_TEST) line.
I kept looking in java code and it didn't occur to me that the problem might be in the native code.
Sorry guys and thanks for your kind help (especially EgonOlsen!).