mirror of
https://github.com/PixarAnimationStudios/OpenSubdiv
synced 2024-12-23 00:10:07 +00:00
The example simpleCpu compilation was failing, thanks to
a) Missing include/import in mainApple (compiler failed to find definition of glGetError() and associated enums) b) Missing generation of string-fied shader for inclusion into the source code files. This patch fixes both issues. Signed-off-by: Adenilson Cavalcanti <cavalcantii@gmail.com>
This commit is contained in:
parent
3467673a6b
commit
8e5ce18e48
@ -101,6 +101,8 @@ if(APPLE)
|
|||||||
_add_glut_executable(simpleCpu
|
_add_glut_executable(simpleCpu
|
||||||
mainApple.mm
|
mainApple.mm
|
||||||
simpleCpuSubdivision.cpp
|
simpleCpuSubdivision.cpp
|
||||||
|
${SHADER_FILES}
|
||||||
|
${INC_FILES}
|
||||||
)
|
)
|
||||||
else()
|
else()
|
||||||
_add_glut_executable(simpleCpu
|
_add_glut_executable(simpleCpu
|
||||||
|
@ -1,7 +1,8 @@
|
|||||||
#import <Cocoa/Cocoa.h>
|
#import <Cocoa/Cocoa.h>
|
||||||
#import <wchar.h>
|
#import <wchar.h>
|
||||||
#import <iostream>
|
#import <iostream>
|
||||||
|
#import <OpenGL/OpenGL.h>
|
||||||
|
#import <OpenGL/glu.h>
|
||||||
//
|
//
|
||||||
// Hooks back into the example code
|
// Hooks back into the example code
|
||||||
//
|
//
|
||||||
|
Loading…
Reference in New Issue
Block a user