mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-29 01:03:41 +01:00
Some more renaming and refactoring, extracted from a future PR
This commit is contained in:
1 parent
8e39018b95
commit
87b14fe1c2
9 files changed
+69
-55
No files matched your search
@@ -143,10 +143,9 @@ void DrawEngineGLES::ApplyDrawState(int prim) {
|
||||
bool alphaMask = gstate.isClearModeAlphaMask();
|
||||
renderManager->SetNoBlendAndMask((colorMask ? 7 : 0) | (alphaMask ? 8 : 0));
|
||||
} else {
|
||||
pipelineState_.Convert(draw_->GetDeviceCaps().fragmentShaderInt32Supported);
|
||||
GenericMaskState &maskState = pipelineState_.maskState;
|
||||
GenericBlendState &blendState = pipelineState_.blendState;
|
||||
ConvertMaskState(maskState, draw_->GetDeviceCaps().fragmentShaderInt32Supported);
|
||||
ConvertBlendState(blendState, maskState.applyFramebufferRead);
|
||||
|
||||
if (blendState.applyFramebufferRead || maskState.applyFramebufferRead) {
|
||||
bool fboTexNeedsBind = false;
|
||||
|
||||
Reference in new issue
Block a user