From c119bee50776437fb1c28436c10b923d472071cb Mon Sep 17 00:00:00 2001 From: halx99 Date: Mon, 31 Aug 2020 17:35:01 +0800 Subject: [PATCH] Move copyright notice to header [skip appveyor][skip travis] --- cocos/base/etc2.cpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/cocos/base/etc2.cpp b/cocos/base/etc2.cpp index 2a38090c32..481fbed657 100644 --- a/cocos/base/etc2.cpp +++ b/cocos/base/etc2.cpp @@ -3,6 +3,12 @@ Copyright (c) 2013-2016 Chukong Technologies Inc. Copyright (c) 2017-2018 Xiamen Yaji Software Co., Ltd. Copyright (c) 2020 c4games.com + +// +// Copyright 2013 The ANGLE Project Authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. +// http://www.cocos2d-x.org @@ -82,13 +88,7 @@ etc2_uint32 etc2_pkm_get_format(const uint8_t* pHeader) { return readBEUint16(pHeader + ETC2_PKM_FORMAT_OFFSET); } -/// The etc2 software decode implementation is modified from angleproject -/// only support ETC2_RGB and ETC2_RGBA -// -// Copyright 2013 The ANGLE Project Authors. All rights reserved. -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. -// +// The etc2 software decode implementation is modified from angleproject, and only support ETC2_RGB and ETC2_RGBA #define UNREACHABLE() namespace {