mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-11-25 23:07:18 +00:00
[host] removed namespace sillyness
This commit is contained in:
parent
23b0dc7c81
commit
fc192c0016
@ -17,6 +17,7 @@ Place, Suite 330, Boston, MA 02111-1307 USA
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include "NvFBC.h"
|
#include "NvFBC.h"
|
||||||
|
using namespace Capture;
|
||||||
|
|
||||||
#include <string>
|
#include <string>
|
||||||
|
|
||||||
@ -29,9 +30,6 @@ Place, Suite 330, Boston, MA 02111-1307 USA
|
|||||||
#define NVFBC_LIBRARY_NAME "NvFBC.dll"
|
#define NVFBC_LIBRARY_NAME "NvFBC.dll"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
namespace Capture
|
|
||||||
{
|
|
||||||
|
|
||||||
NvFBC::NvFBC() :
|
NvFBC::NvFBC() :
|
||||||
m_initialized(false),
|
m_initialized(false),
|
||||||
m_hDLL(NULL),
|
m_hDLL(NULL),
|
||||||
@ -113,7 +111,6 @@ namespace Capture
|
|||||||
params.pDevice = NULL;
|
params.pDevice = NULL;
|
||||||
params.dwAdapterIdx = 0;
|
params.dwAdapterIdx = 0;
|
||||||
|
|
||||||
|
|
||||||
if (m_fnCreateEx(¶ms) != NVFBC_SUCCESS)
|
if (m_fnCreateEx(¶ms) != NVFBC_SUCCESS)
|
||||||
{
|
{
|
||||||
DEBUG_ERROR("Failed to create an instance of NvFBC");
|
DEBUG_ERROR("Failed to create an instance of NvFBC");
|
||||||
@ -265,5 +262,3 @@ namespace Capture
|
|||||||
DEBUG_ERROR("Failed to grab frame");
|
DEBUG_ERROR("Failed to grab frame");
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
};
|
|
Loading…
Reference in New Issue
Block a user