Bug 5196977: Include helper_gl.h before cuda_gl_interop.h

This commit is contained in:
shawnz 2025-04-01 16:07:32 +08:00
parent 685709bfc7
commit 952d6edf92
5 changed files with 5 additions and 5 deletions

View File

@ -46,12 +46,12 @@
#endif #endif
// includes // includes
#include <helper_gl.h>
#include <cuda_gl_interop.h> #include <cuda_gl_interop.h>
#include <cuda_runtime.h> #include <cuda_runtime.h>
#include <cufft.h> #include <cufft.h>
#include <helper_cuda.h> #include <helper_cuda.h>
#include <helper_functions.h> #include <helper_functions.h>
#include <helper_gl.h>
#include <math.h> #include <math.h>
#include <math_constants.h> #include <math_constants.h>
#include <stdio.h> #include <stdio.h>

View File

@ -87,11 +87,11 @@
#endif #endif
// includes // includes
#include <helper_gl.h>
#include <cuda_gl_interop.h> #include <cuda_gl_interop.h>
#include <cuda_runtime.h> #include <cuda_runtime.h>
#include <helper_cuda.h> // includes cuda.h and cuda_runtime_api.h #include <helper_cuda.h> // includes cuda.h and cuda_runtime_api.h
#include <helper_functions.h> #include <helper_functions.h>
#include <helper_gl.h>
#include <math.h> #include <math.h>
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>

View File

@ -29,10 +29,10 @@
#define HELPERGL_EXTERN_GL_FUNC_IMPLEMENTATION #define HELPERGL_EXTERN_GL_FUNC_IMPLEMENTATION
#include <assert.h> #include <assert.h>
#include <helper_gl.h>
#include <cuda_gl_interop.h> #include <cuda_gl_interop.h>
#include <cuda_runtime.h> #include <cuda_runtime.h>
#include <helper_cuda.h> #include <helper_cuda.h>
#include <helper_gl.h>
#include <math.h> #include <math.h>
#define GL_POINT_SPRITE_ARB 0x8861 #define GL_POINT_SPRITE_ARB 0x8861

View File

@ -33,11 +33,11 @@
#include <memory.h> #include <memory.h>
#define HELPERGL_EXTERN_GL_FUNC_IMPLEMENTATION #define HELPERGL_EXTERN_GL_FUNC_IMPLEMENTATION
#include <helper_gl.h>
#include <cuda_gl_interop.h> #include <cuda_gl_interop.h>
#include <cuda_runtime.h> #include <cuda_runtime.h>
#include <helper_cuda.h> #include <helper_cuda.h>
#include <helper_functions.h> #include <helper_functions.h>
#include <helper_gl.h>
#include "ParticleSystem.cuh" #include "ParticleSystem.cuh"
#include "ParticleSystem.h" #include "ParticleSystem.h"

View File

@ -31,9 +31,9 @@ This file contains simple wrapper functions that call the CUDA kernels
#define HELPERGL_EXTERN_GL_FUNC_IMPLEMENTATION #define HELPERGL_EXTERN_GL_FUNC_IMPLEMENTATION
#include <cstdio> #include <cstdio>
#include <cstdlib> #include <cstdlib>
#include <helper_gl.h>
#include <cuda_gl_interop.h> #include <cuda_gl_interop.h>
#include <helper_cuda.h> #include <helper_cuda.h>
#include <helper_gl.h>
#include <string.h> #include <string.h>
#include "ParticleSystem.cuh" #include "ParticleSystem.cuh"