PDA

View Full Version : Setting Pixel Width



07-21-2000, 07:39 AM
I'd appreciate it if someone could tell me how to know how many pixels wide a drawing area is? What I'm doing is drawing with the GL_POINTS and I need to know how many pixels will fit on the gl canvas in order to do proper scaling.

MikeC
07-21-2000, 10:48 AM
Um... you must know this already, surely? What are you passing to glViewport() ?