BASIC

Author Topic: OpenGL device context ?  (Read 1384 times)

Offline backspace

  • Mr. Drawsprite
  • **
  • Posts: 53
    • View Profile
OpenGL device context ?
« on: 2013-Feb-03 »
Hi there.
I know with DirectX, with c++ i can get the device context handle, and do some stuff directly in the DX screen, I am however pretty new to OpenGL, and want to know if I can get the background buffer address, widow address, or whatever is appropriate, and do something similar. Why I wish to know this, is because there are some image manipulation routines that I used in DX, and wish to do the same - if it is possible with OGL. Is this at all possible with GLBasic?
Any help in this regard will be very much appreciated.
I came, I saw, I coded.

Offline backspace

  • Mr. Drawsprite
  • **
  • Posts: 53
    • View Profile
Re: OpenGL device context ?
« Reply #1 on: 2013-Feb-05 »
I've solved this problem by studying the TCL example in detail.
« Last Edit: 2013-Feb-07 by backspace »
I came, I saw, I coded.

Offline Kitty Hello

  • code monkey
  • Administrator
  • Prof. Inline
  • *******
  • Posts: 10649
  • here on my island the sea says 'hello'
    • View Profile
    • http://www.glbasic.com
OpenGL device context ?
« Reply #2 on: 2013-Feb-25 »
There's an OpenGL wrapper somewhere. gl.gbas