SFML community forums
Bindings - other languages => C => Topic started by: Jebbs on September 18, 2012, 07:13:11 am
-
I guess this question is mainly for Laurent, but anyone else is welcome to school me on the subject!
Anyways, my question revolves around the sfContext functions. The sfContextSettings struct is clearly defined, but there doesn't seem to be any use for it when defining an sfContext. Was this done on purpose or am I completely missing something?
Thanks, guys!
-
The context settings are used when creating a window.
-
Oh, sweet! I see what you mean now.
I was just confused because the C++ version has a constructor in the Context class which takes a ContextSettings as a parameter but I didn't see any CSFML counterpart.
Thanks for the help!
-
I was just confused because the C++ version has a constructor in the Context class which takes a ContextSettings as a parameter but I didn't see any CSFML counterpart.
Yes, and if you read its documentation, you can see:
This constructor is for internal use
-
I most definitely missed that.
Sorry for asking such a silly question! I will make sure to read the documentation more thoroughly in the future.