[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
SharedX ?
From: |
Philippe C . D . Robert |
Subject: |
SharedX ? |
Date: |
Thu, 18 Jan 2001 14:12:11 +0100 |
Hi,
XGContext.h includes
#include <SharedX/XGGeneric.h>
But there seems to be no SharedX/ anymore, so what should be done? What is the
best way retreive the following information:
XGContext *context = (XGContext *)[XGContext currentContext];
gswindow_device_t *wdev = [XGContext _windowWithTag:[win windowNumber]];
/*
* Required info to get a visual
*/
dpy = [context xDisplay];
drawable = (*wget).buffer;
xScreen = (*wdev).screen;
In need this in order to create a GLX context wrapper class, which is needed
for the G3DCamera (later maybe also NSOpenGLView) in the 3DKit.
thx in advance,
cheers, Phil
--
Philippe C.D. Robert | http://www.nice.ch/~phip/
- SharedX ?,
Philippe C . D . Robert <=