Commit 853bdd9c authored by Martin Finkel's avatar Martin Finkel
Browse files

remove the orange stuff

parent 0e72c5ef
......@@ -325,19 +325,12 @@ void RenderAPI_D3D11::Swap_cb( void* opaque )
DEBUG("libvlc SWAP \n");
struct render_context *ctx = static_cast<struct render_context *>( opaque );
// std::lock_guard<std::mutex> lock(text_lock);
ctx->updated = true;
// std::swap(ctx->textureShaderInput2, ctx->textureShaderInput);
// ctx->d3dctx->OMSetRenderTargets(1, &ctx->textureRenderTarget, NULL);
void RenderAPI_D3D11::EndRender(struct render_context *ctx)
/* render into the swapchain */
static const FLOAT orangeRGBA[4] = {1.0f, 0.5f, 0.0f, 1.0f};
ctx->d3dctx->OMSetRenderTargets(1, &ctx->textureRenderTarget, NULL);
ctx->d3dctx->ClearRenderTargetView(ctx->textureRenderTarget, orangeRGBA);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment