Mercurial > games > semicongine
annotate src/zamikongine/window.nim @ 24:71bbe11d8de8
did: change shader compilation to run during program compilation, maybe add dynamic version later
| author | Sam <sam@basx.dev> | 
|---|---|
| date | Wed, 11 Jan 2023 11:15:02 +0700 | 
| parents | b55d6ecde79d | 
| children | c3c963e7c1a6 | 
| rev | line source | 
|---|---|
| 
5
 
4ed9cb098315
add: structure code for crossplatform, add some input handling + bugfixes
 
Sam <sam@basx.dev> 
parents:  
diff
changeset
 | 
1 when defined(linux): | 
| 
 
4ed9cb098315
add: structure code for crossplatform, add some input handling + bugfixes
 
Sam <sam@basx.dev> 
parents:  
diff
changeset
 | 
2 import ./platform/linux/xlib | 
| 
 
4ed9cb098315
add: structure code for crossplatform, add some input handling + bugfixes
 
Sam <sam@basx.dev> 
parents:  
diff
changeset
 | 
3 export xlib | 
| 
 
4ed9cb098315
add: structure code for crossplatform, add some input handling + bugfixes
 
Sam <sam@basx.dev> 
parents:  
diff
changeset
 | 
4 elif defined(windows): | 
| 
 
4ed9cb098315
add: structure code for crossplatform, add some input handling + bugfixes
 
Sam <sam@basx.dev> 
parents:  
diff
changeset
 | 
5 import ./platform/windows/win32 | 
| 
 
4ed9cb098315
add: structure code for crossplatform, add some input handling + bugfixes
 
Sam <sam@basx.dev> 
parents:  
diff
changeset
 | 
6 export win32 | 
