source: trunk/src/opengl/mesa/internal.c@ 2970

Last change on this file since 2970 was 2962, checked in by jeroen, 25 years ago

* empty log message *

File size: 943 bytes
Line 
1/* $Id: internal.c,v 1.1 2000-03-01 18:49:30 jeroen Exp $ */
2/*****************************************************************************/
3/* */
4/* OpenGL - Internal functions for GLIDE support */
5/* */
6/*****************************************************************************/
7
8#include <os2win.h>
9#include "types.h"
10#include "wmesadef.h"
11#include "internal.h"
12
13extern PWMC Current;
14
15void * _System _InternalOGLQueryBB(void)
16{
17 /* Return ptr to the current backbuffer */
18 if(Current)
19 return Current->pbPixels;
20
21 return 0;
22}
23
24void * _System _InternalOGLQueryFB(void)
25{
26 /* Return ptr to the current frontbuffer */
27 if(Current)
28 if(Current->ppFrameBuffer)
29 return Current->ppFrameBuffer;
30 else
31 return Current->pbPixels;
32
33 return 0;
34}
Note: See TracBrowser for help on using the repository browser.