Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DDS Mipmap Levels #12

Open
St0fF-NPL-ToM opened this issue Apr 20, 2015 · 2 comments
Open

DDS Mipmap Levels #12

St0fF-NPL-ToM opened this issue Apr 20, 2015 · 2 comments

Comments

@St0fF-NPL-ToM
Copy link

Hey Gargaj,

using DX9 version.
Reading the code it looks like mipmap levels within DDS textures are read just as D3DXCreateTextureFromFileEx would load them with MipLevels == 0. But somehow using tex2Dlod and changing the second argument's ".w" manually doesn't make a difference.

Intended behaviour?

Cheers,
St0fF

P.S.: yes, don't use DDS. It was just for testing...

@Gargaj
Copy link
Owner

Gargaj commented Apr 21, 2015

I'm not against mipmaps, but I wasn't sure how to enable them in the SDL version so I made it consistently mipmapless across the board.

@St0fF-NPL-ToM
Copy link
Author

Oh, I see. My guess would be: SDL/OpenGL: load or create them manually. (At least at work when dealing with EGL we always have to provide them manually).

When I have the time, I'll have a look at the SDL code.

jmaselbas pushed a commit to jmaselbas/Bonzomatic that referenced this issue Apr 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants