mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
d3d: Fix drawpixels texture.
This commit is contained in:
parent
22db52dbeb
commit
417bfc74c3
1 changed files with 1 additions and 1 deletions
|
@ -126,7 +126,7 @@ namespace DX9 {
|
|||
usage = D3DUSAGE_DYNAMIC;
|
||||
}
|
||||
HRESULT hr = pD3Ddevice->CreateTexture(512, 272, 1, usage, D3DFMT(D3DFMT_A8R8G8B8), pool, &drawPixelsTex_, NULL);
|
||||
if (!hr) {
|
||||
if (FAILED(hr)) {
|
||||
drawPixelsTex_ = nullptr;
|
||||
ERROR_LOG(G3D, "Failed to create drawpixels texture");
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue