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/




_______________________________________________
Bug-gnustep mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-gnustep

Reply via email to