diff options
| author | Jon Ashburn <jon@lunarg.com> | 2015-01-29 15:47:01 -0700 |
|---|---|---|
| committer | Courtney Goeltzenleuchter <courtney@LunarG.com> | 2015-02-04 17:58:10 -0700 |
| commit | 93cfc4364ca15d7b02b408504a1c958d9017bdc4 (patch) | |
| tree | dbe31004dc9dcd59d44397e543e961295da9ad8e /loader/loader.c | |
| parent | 10a7eddd1cf35039e62a3ce40a726ff0d143ca62 (diff) | |
| download | usermoji-93cfc4364ca15d7b02b408504a1c958d9017bdc4.tar.xz | |
demos: Convert to using Instancing API rather than xglInitAndEnumerateGpus()
Diffstat (limited to 'loader/loader.c')
| -rw-r--r-- | loader/loader.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/loader/loader.c b/loader/loader.c index acb430f4..343fb142 100644 --- a/loader/loader.c +++ b/loader/loader.c @@ -907,7 +907,7 @@ LOADER_EXPORT XGL_RESULT XGLAPI xglEnumerateGpus( { struct loader_instance *ptr_instance = (struct loader_instance *) instance; struct loader_icd *icd; - XGL_UINT count = 0; + uint32_t count = 0; XGL_RESULT res; //in spirit of XGL don't error check on the instance parameter @@ -916,7 +916,7 @@ LOADER_EXPORT XGL_RESULT XGLAPI xglEnumerateGpus( XGL_PHYSICAL_GPU gpus[XGL_MAX_PHYSICAL_GPUS]; XGL_BASE_LAYER_OBJECT * wrapped_gpus; xglGetProcAddrType get_proc_addr = icd->scanned_icds->GetProcAddr; - XGL_UINT n, max = maxGpus - count; + uint32_t n, max = maxGpus - count; if (max > XGL_MAX_PHYSICAL_GPUS) { max = XGL_MAX_PHYSICAL_GPUS; |
