File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -111,6 +111,7 @@ class D3D11WinApp : public D3DSample
111
111
112
112
m_pSurfaceRGBA = 0 ;
113
113
m_pSurfaceNV12 = 0 ;
114
+ m_pSurfaceNV12_cpu_copy = 0 ;
114
115
115
116
D3D11_TEXTURE2D_DESC desc_rgba;
116
117
Original file line number Diff line number Diff line change @@ -175,10 +175,10 @@ static const char* keys =
175
175
template <typename TApp>
176
176
int d3d_app (int argc, char ** argv, std::string& title)
177
177
{
178
- cv::CommandLineParser parser (argc, argv, keys); \
179
- bool useCamera = parser.has (" camera" ); \
180
- string file = parser.get <string>(" file" ); \
181
- bool showHelp = parser.get <bool >(" help" ); \
178
+ cv::CommandLineParser parser (argc, argv, keys);
179
+ bool useCamera = parser.has (" camera" );
180
+ string file = parser.get <string>(" file" );
181
+ bool showHelp = parser.get <bool >(" help" );
182
182
183
183
if (showHelp)
184
184
help ();
You can’t perform that action at this time.
0 commit comments