Author Topic: Double buffering example  (Read 882 times)

0 Members and 1 Guest are viewing this topic.

Aurel

  • Guest
Double buffering example
« on: February 20, 2020, 12:35:37 PM »
Hi Charles

i found one tiny problem in example: v0.2.8.
oxygenbasic\examples\WinGui\DoubleBuff.o2bas

when i try to compile this program i get pointer error in two lines

141  sub CustomDoubleBuffer(sys *pDat, sys *pPaintStruc)   
142  CustomData *pData : &pData = &pDat
143  PAINTSTRUCT *pPaintStruct : &pPaintStruct = &pPaintS


So i just add this two * and program work presenting something similar to chess board with blue & yellow rectangles.
I must say that i never see before this example.  ::)
nice  ;)