bindbc.sfml , sfVideoMode , Error: undefined identifier

Alain De Vos devosalain at ymail.com
Sat May 8 09:05:18 UTC 2021


I try this,
```
import bindbc.sfml;
import bindbc.sfml.config;
import bindbc.sfml.system;
import bindbc.sfml.window;
void main(){
	bool ret=loadSFML();
	sfVideoMode m=sfVideoMode(800, 600,24);
}
```
But dub gives undefined identifier sdVideoMode.
Although,
https://bindbc-sfml.dpldocs.info/bindbc.sfml.window.sfVideoMode.html
I must doing something wrong ?


More information about the Digitalmars-d-learn mailing list