mirror of
https://github.com/gnif/LookingGlass.git
synced 2025-01-23 12:08:10 +00:00
[c-host] dxgi: fix invalid cursor type define
This commit is contained in:
parent
026bdb00f2
commit
780bb248f7
3 changed files with 7 additions and 4 deletions
2
VERSION
2
VERSION
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue