Shouldn't the above code look more like: http://lists.apple.com/archives/mac-opengl/2004/Oct/msg00148.html
where there is a glGetTexLevelParameteriv(GL_PROXY_TEXTURE_2D, 0, GL_TEXTURE_HEIGHT, &testHeight); call too?
where there is a glGetTexLevelParameteriv(GL_PROXY_TEXTURE_2D, 0, GL_TEXTURE_HEIGHT, &testHeight); call too?