OLD | NEW |
(Empty) | |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef THIRD_PARTY_MESA_INCLUDE_OSMESA_H_ |
| 6 #define THIRD_PARTY_MESA_INCLUDE_OSMESA_H_ |
| 7 #pragma once |
| 8 |
| 9 // This is a shim header to include the right mesa header. |
| 10 // Use this instead of referencing the mesa header directly. |
| 11 |
| 12 #if defined(USE_SYSTEM_MESA) |
| 13 #include <GL/osmesa.h> |
| 14 #else |
| 15 #include "third_party/mesa/MesaLib/include/GL/osmesa.h" |
| 16 #endif |
| 17 |
| 18 #endif // THIRD_PARTY_MESA_INCLUDE_OSMESA_H_ |
OLD | NEW |