First, I declare a gsDriver object :
Code: Select all
gsDriver GS;
For example :
Code: Select all
GS.setDisplayMode(.......);
I saw that when i put the declaration inside a function, it works.
But i want to use the same gsDriver in many functions. How can I do it ?
It seems that the gsDriver is not correctly if defined outside a function.
Any idea is welocme :wink: