mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-11-13 22:30:17 +01:00
pch migration to modules [wip]
This commit is contained in:
11
rendering/openglcolor_macros.h
Normal file
11
rendering/openglcolor_macros.h
Normal file
@@ -0,0 +1,11 @@
|
||||
#pragma once
|
||||
|
||||
// Macros cannot cross a module boundary, so they live in a plain header
|
||||
// that consumers pull into their global module fragment. The bodies are
|
||||
// expanded at the use site, where the imported names are in scope, so this
|
||||
// header deliberately includes nothing.
|
||||
|
||||
#define glColor3f OpenGLColor.color3
|
||||
#define glColor3fv OpenGLColor.color3
|
||||
#define glColor4f OpenGLColor.color4
|
||||
#define glColor4fv OpenGLColor.color4
|
||||
Reference in New Issue
Block a user