Commit 9abaeef6 authored by Martin Finkel's avatar Martin Finkel
Browse files

remove unused code

parent 4e41949a
......@@ -247,8 +247,6 @@ void RenderAPI_D3D11::Update(UINT width, UINT height)
abort();
}
HANDLE sharedHandle;
hr = sharedResource->CreateSharedHandle(NULL, DXGI_SHARED_RESOURCE_READ | DXGI_SHARED_RESOURCE_WRITE, NULL, &m_sharedHandle);
if(FAILED(hr))
{
......
......@@ -14,20 +14,12 @@ extern "C" {
static UnityGfxRenderer s_DeviceType = kUnityGfxRendererNull;
static int g_TextureWidth = 0;
static int g_TextureHeight = 0;
static int g_TextureRowPitch = 0;
libvlc_instance_t * inst;
static IUnityGraphics* s_Graphics = NULL;
static std::map<libvlc_media_player_t*,RenderAPI*> contexts = {};
static IUnityInterfaces* s_UnityInterfaces = NULL;
static UINT Width;
static UINT Height;
static void* Hwnd;
/** LibVLC's API function exported to Unity
*
* Every following functions will be exported to. Unity We have to
......
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