blob: 8cbc7130ab806c23c758afcbe3207436a8313bae (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef GPU_COMMAND_BUFFER_COMMON_COMPILER_SPECIFIC_H_
#define GPU_COMMAND_BUFFER_COMMON_COMPILER_SPECIFIC_H_
#pragma once
// Annotate a virtual method indicating it must be overriding a virtual
// method in the parent class.
// Use like:
// virtual void foo() OVERRIDE;
#ifndef OVERRIDE
#ifdef _MSC_VER
#define OVERRIDE override
#elif defined(__clang__)
#define OVERRIDE override
#else
#define OVERRIDE
#endif
#endif
#endif // GPU_COMMAND_BUFFER_COMMON_COMPILER_SPECIFIC_H_
|