[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Pnet-developers] Handle problem
From: |
Dmitriy |
Subject: |
[Pnet-developers] Handle problem |
Date: |
Tue, 12 Oct 2004 02:02:57 +0600 |
How to link(bind) OpenGL to window, which was created with PNET SWF?
for Windows and Microsoft .NET it is not a problem:
We get a handle from window in C# code and in C++ code:
void Create(HWND hwnd)
{
dc=GetDC(cwnd);
int iPixelFormat = ChoosePixelFormat(dc,&rPFD);
if(!SetPixelFormat(dc,iPixelFormat,&rPFD)) FAIL("SetPixelFormat failed!");
if(!(hRC = wglCreateContext(dc))) FAIL("wglCreateContext failed!");
//we have OpenGL context
}
How TODO so under PNET and linux?
- [Pnet-developers] Is Emit namespace ready?, Dmitriy, 2004/10/07
- Re: [Pnet-developers] Is Emit namespace ready?, Gopal V, 2004/10/08
- Re: [Pnet-developers] Is Emit namespace ready?, Marcus, 2004/10/08
- Re: [Pnet-developers] Is Emit namespace ready?, Gopal V, 2004/10/08
- [Pnet-developers] Tests, Dmitriy, 2004/10/08
- Re: [Pnet-developers] Tests, Gopal V, 2004/10/12
- Re: [Pnet-developers] Tests, Marcus, 2004/10/12
- Re: [Pnet-developers] Tests, Dmitriy, 2004/10/12
- [Pnet-developers] Handle problem,
Dmitriy <=
- Re: [Pnet-developers] Handle problem, Rhys Weatherley, 2004/10/11
- Re: [Pnet-developers] Handle problem, Dmitriy, 2004/10/12