Skip to content

Commit 908d872

Browse files
committed
updated winrt template files with typo fixes
1 parent 35c855a commit 908d872

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

templates/cpp-template-default/proj.win10/App/Cocos2dEngine/OpenGLESPage.xaml.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ void OpenGLESPage::CreateRenderSurface()
155155
{
156156
if (mOpenGLES && mRenderSurface == EGL_NO_SURFACE)
157157
{
158-
// The app can configure the the SwapChainPanel which may boost performance.
158+
// The app can configure the SwapChainPanel which may boost performance.
159159
// By default, this template uses the default configuration.
160160
mRenderSurface = mOpenGLES->CreateSurface(swapChainPanel, nullptr, nullptr);
161161

templates/cpp-template-default/proj.win8.1-universal/App.Shared/Cocos2dRenderer.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ class Cocos2dRenderer
2929
public:
3030
Cocos2dRenderer(int width, int height, float dpi,
3131
Windows::Graphics::Display::DisplayOrientations orientation,
32-
Windows::UI::Core::CoreDispatcher^ dispathcer, Windows::UI::Xaml::Controls::Panel^ panel);
32+
Windows::UI::Core::CoreDispatcher^ dispatcher, Windows::UI::Xaml::Controls::Panel^ panel);
3333
~Cocos2dRenderer();
3434
void Draw(GLsizei width, GLsizei height, float dpi, Windows::Graphics::Display::DisplayOrientations orientation);
3535
void QueuePointerEvent(cocos2d::PointerEventType type, Windows::UI::Core::PointerEventArgs^ args);

templates/cpp-template-default/proj.win8.1-universal/App.Shared/OpenGLESPage.xaml.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ void OpenGLESPage::CreateRenderSurface()
155155
{
156156
if (mOpenGLES && mRenderSurface == EGL_NO_SURFACE)
157157
{
158-
// The app can configure the the SwapChainPanel which may boost performance.
158+
// The app can configure the SwapChainPanel which may boost performance.
159159
// By default, this template uses the default configuration.
160160
mRenderSurface = mOpenGLES->CreateSurface(swapChainPanel, nullptr, nullptr);
161161

templates/js-template-default/frameworks/runtime-src/proj.win8.1-universal/App.Shared/Cocos2dRenderer.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ class Cocos2dRenderer
2929
public:
3030
Cocos2dRenderer(int width, int height, float dpi,
3131
Windows::Graphics::Display::DisplayOrientations orientation,
32-
Windows::UI::Core::CoreDispatcher^ dispathcer, Windows::UI::Xaml::Controls::Panel^ panel);
32+
Windows::UI::Core::CoreDispatcher^ dispatcher, Windows::UI::Xaml::Controls::Panel^ panel);
3333
~Cocos2dRenderer();
3434
void Draw(GLsizei width, GLsizei height, float dpi, Windows::Graphics::Display::DisplayOrientations orientation);
3535
void QueuePointerEvent(cocos2d::PointerEventType type, Windows::UI::Core::PointerEventArgs^ args);

templates/js-template-default/frameworks/runtime-src/proj.win8.1-universal/App.Shared/OpenGLESPage.xaml.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ void OpenGLESPage::CreateRenderSurface()
155155
{
156156
if (mOpenGLES && mRenderSurface == EGL_NO_SURFACE)
157157
{
158-
// The app can configure the the SwapChainPanel which may boost performance.
158+
// The app can configure the SwapChainPanel which may boost performance.
159159
// By default, this template uses the default configuration.
160160
mRenderSurface = mOpenGLES->CreateSurface(swapChainPanel, nullptr, nullptr);
161161

0 commit comments

Comments
 (0)