mirror of
https://github.com/izzy2lost/ppsspp.git
synced 2026-03-10 12:43:04 -07:00
Switch D3D9 too to the glsl shader generator
This commit is contained in:
@@ -30,12 +30,13 @@ LPD3DBLOB CompileShaderToByteCodeD3D9(const char *code, const char *target, std:
|
||||
&pErrorMsg);
|
||||
|
||||
if (pErrorMsg) {
|
||||
*errorMessage = (CHAR *)pErrorMsg->GetBufferPointer();
|
||||
*errorMessage = std::string((CHAR *)pErrorMsg->GetBufferPointer());
|
||||
|
||||
OutputDebugStringUTF8(LineNumberString(std::string(code)).c_str());
|
||||
OutputDebugStringUTF8(errorMessage->c_str());
|
||||
|
||||
pErrorMsg->Release();
|
||||
pShaderCode = nullptr;
|
||||
} else if (FAILED(hr)) {
|
||||
*errorMessage = GetStringErrorMsg(hr);
|
||||
if (pShaderCode) {
|
||||
|
||||
Reference in New Issue
Block a user