From 8b06b1cbf112d55307ea8a6efe711db4e7506d89 Mon Sep 17 00:00:00 2001
From: admin <weikou2014>
Date: 星期二, 07 三月 2023 10:13:47 +0800
Subject: [PATCH] 'GPU内核方法优化'

---
 ConsoleApplication/CaptureUtil.h |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/ConsoleApplication/CaptureUtil.h b/ConsoleApplication/CaptureUtil.h
index de322af..378d9b0 100644
--- a/ConsoleApplication/CaptureUtil.h
+++ b/ConsoleApplication/CaptureUtil.h
@@ -6,6 +6,7 @@
 
 #include <string>
 #include "ImgUtil.h"
+#define L2_CHENNL_COUNT 6
 using namespace std;
 enum CaptureContentType {
 	CAPTURE_TYPE_L2,
@@ -25,8 +26,8 @@
 {
 private:
 	static std::list<FrameInfo> tempFrames;
-	static HWND level2Frames[8];
-	static HWND tradeQueueFrames[8];
+	static HWND level2Frames[L2_CHENNL_COUNT];
+	static HWND tradeQueueFrames[L2_CHENNL_COUNT];
 	static BOOL CALLBACK EnumChildProc(HWND hwndChild, LPARAM lParam);
 
 

--
Gitblit v1.8.0