mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-26 15:53:35 +01:00
D3D11 prep
This commit is contained in:
1 parent
7800bfdf72
commit
da65af832a
8 files changed
+60
-31
No files matched your search
@@ -232,7 +232,7 @@ void TextureCacheGLES::Unbind() {
|
||||
}
|
||||
|
||||
void TextureCacheGLES::BindAsClutTexture(Draw::Texture *tex) {
|
||||
GLRTexture *glrTex = (GLRTexture *)draw_->GetNativeObject(Draw::NativeObject::TEXTURE, tex);
|
||||
GLRTexture *glrTex = (GLRTexture *)draw_->GetNativeObject(Draw::NativeObject::TEXTURE_VIEW, tex);
|
||||
render_->BindTexture(TEX_SLOT_CLUT, glrTex);
|
||||
render_->SetTextureSampler(TEX_SLOT_CLUT, GL_REPEAT, GL_CLAMP_TO_EDGE, GL_NEAREST, GL_NEAREST, 0.0f);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user