OpenSWE1R / openswe1r

An Open-Source port of the 1999 Game "Star Wars Episode 1: Racer"
https://openswe1r.github.io/
GNU General Public License v2.0
312 stars 26 forks source link

Texture wrap (clamping / repeat) is not implemented #163

Open JayFoxRox opened 6 years ago

JayFoxRox commented 6 years ago

Currently, the texture GL_TEXTURE_WRAP_S and GL_TEXTURE_WRAP_T are only set in StretchBlt and IDirectDrawSurface4::Unlock. Both of which are probably a bad idea.

However, the game supplies its own values in IDirect3DDevice3::SetTextureStageState which should be respected when doing the actual rendering.