fixed spelling error
This commit is contained in:
parent
82ed338804
commit
ae2e0e314a
@ -342,7 +342,7 @@ class BASE_EXPORT OutputDuplicator
|
||||
public:
|
||||
virtual ~OutputDuplicator() {}
|
||||
|
||||
virtual DuplicatorInfo AquireNextFrame(UINT timeout)=0;
|
||||
virtual DuplicatorInfo AcquireNextFrame(UINT timeout)=0;
|
||||
virtual Texture* GetCopyTexture()=0;
|
||||
virtual Texture* GetCursorTex(POINT* pos)=0;
|
||||
};
|
||||
|
@ -78,11 +78,11 @@ D3D10OutputDuplicator::~D3D10OutputDuplicator()
|
||||
delete copyTex;
|
||||
}
|
||||
|
||||
DuplicatorInfo D3D10OutputDuplicator::AquireNextFrame(UINT timeout)
|
||||
DuplicatorInfo D3D10OutputDuplicator::AcquireNextFrame(UINT timeout)
|
||||
{
|
||||
if(!duplicator)
|
||||
{
|
||||
AppWarning(TEXT("D3D10OutputDuplicator::AquireNextFrame: Well, apparently there's no duplicator."));
|
||||
AppWarning(TEXT("D3D10OutputDuplicator::AcquireNextFrame: Well, apparently there's no duplicator."));
|
||||
return DuplicatorInfo_Error;
|
||||
}
|
||||
|
||||
@ -105,7 +105,7 @@ DuplicatorInfo D3D10OutputDuplicator::AquireNextFrame(UINT timeout)
|
||||
if(FAILED(hRes = tempResource->QueryInterface(__uuidof(ID3D10Texture2D), (void**)&texVal)))
|
||||
{
|
||||
SafeRelease(tempResource);
|
||||
AppWarning(TEXT("D3D10OutputDuplicator::AquireNextFrame: could not query interface, result = 0x%08lX"), hRes);
|
||||
AppWarning(TEXT("D3D10OutputDuplicator::AcquireNextFrame: could not query interface, result = 0x%08lX"), hRes);
|
||||
return DuplicatorInfo_Error;
|
||||
}
|
||||
|
||||
|
@ -319,7 +319,7 @@ public:
|
||||
bool Init(UINT output);
|
||||
virtual ~D3D10OutputDuplicator();
|
||||
|
||||
virtual DuplicatorInfo AquireNextFrame(UINT timeout);
|
||||
virtual DuplicatorInfo AcquireNextFrame(UINT timeout);
|
||||
virtual Texture* GetCopyTexture();
|
||||
virtual Texture* GetCursorTex(POINT* pos);
|
||||
};
|
||||
|
@ -132,7 +132,7 @@ public:
|
||||
|
||||
if(duplicator)
|
||||
{
|
||||
switch(duplicator->AquireNextFrame(0))
|
||||
switch(duplicator->AcquireNextFrame(0))
|
||||
{
|
||||
case DuplicatorInfo_Lost:
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user