Save glsceen to bitmap

Need Delphi example or explanation on how to save the glsceen from a Panel to a BMP file.
I have code for saving the hole desktop, but I just want the glsceen. When I try to save the Panel to a bitmap, the glsceen does not get captured.