glColor3f(1.0, 0.0, 0.0); /* RED /
glRasterPos2i(20, 15);
glBitmap(w, h, 0, 0, xmove, ymove, red_bitmap);
glColor3f(0.0, 1.0, 0.0); / GREEN */
glBitmap(w, h, 0, 0, xmove, ymove, green_bitmap);
Both bitmaps are render red, how to solve this problem?
glColor3f(1.0, 0.0, 0.0); /* RED /
glRasterPos2i(20, 15);
glBitmap(w, h, 0, 0, xmove, ymove, red_bitmap);
glColor3f(0.0, 1.0, 0.0); / GREEN */
glBitmap(w, h, 0, 0, xmove, ymove, green_bitmap);
Both bitmaps are render red, how to solve this problem?
Call glRasterPos again after setting the new color.
Thanks.