Skip to content
Permalink
Browse files

[c-host] dxgi: fix invalid cursor type define

  • Loading branch information...
gnif committed May 28, 2019
1 parent 026bdb0 commit 780bb248f7b8dd65b102ecd5010877f99bb8095e
Showing with 7 additions and 4 deletions.
  1. +1 −1 VERSION
  2. +3 −3 c-host/platform/Windows/capture/DXGI/src/dxgi_extra.h
  3. +3 −0 c-host/src/app.c
@@ -1 +1 @@
B1-rc3-8-g373d4ac932+1
B1-rc4-0-g026bdb00f2+1
@@ -35,9 +35,9 @@ HRESULT __stdcall CreateDXGIFactory1(REFIID riid, void **factory);
#endif

enum DXGI_OUTDUPL_POINTER_SHAPE_TYPE {
DXGI_OUTDUPL_POINTER_SHAPE_TYPE_MONOCHROME = 1,
DXGI_OUTDUPL_POINTER_SHAPE_TYPE_COLOR,
DXGI_OUTDUPL_POINTER_SHAPE_TYPE_MASKED_COLOR
DXGI_OUTDUPL_POINTER_SHAPE_TYPE_MONOCHROME = 0x1,
DXGI_OUTDUPL_POINTER_SHAPE_TYPE_COLOR = 0x2,
DXGI_OUTDUPL_POINTER_SHAPE_TYPE_MASKED_COLOR = 0x4
};

typedef struct DXGI_OUTDUPL_DESC {
@@ -75,6 +75,9 @@ static int pointerThread(void * opaque)
while(app.running)
{
bool resend = false;

pointer.shapeUpdate = false;

switch(app.iface->getPointer(&pointer))
{
case CAPTURE_RESULT_OK:

0 comments on commit 780bb24

Please sign in to comment.
You can’t perform that action at this time.