I have the same question: How can i get the internal rgba bitsizes?
I tried glGetFramebufferAttachmentParameter
I also tried the same on the BACK_LEFT and BACK_RIGHT buffers.
but I get an “invalid enumerant” error on NVidia 182.52 drivers.
182.52? Those are two year old drivers. GL 3.0 was still fairly new then. Upgrade to some newer ones. However, there may be some issues with the most recent, so get a slightly older version than those.
I just installed the latest Nvidia drivers (280.26)and it seems that this is still broken?
Both generate GL_INVALID_ENUM (have checked that there is no FBO bound)