mirror of
https://gitlab.freedesktop.org/mesa/drm.git
synced 2026-05-05 06:38:03 +02:00
intel: '===' != '=='
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
This commit is contained in:
parent
cd34cbeb9f
commit
c7bbaca6a3
1 changed files with 1 additions and 1 deletions
|
|
@ -1738,7 +1738,7 @@ drm_intel_gem_bo_set_tiling(drm_intel_bo *bo, uint32_t * tiling_mode,
|
|||
/* Linear buffers have no stride. By ensuring that we only ever use
|
||||
* stride 0 with linear buffers, we simplify our code.
|
||||
*/
|
||||
if (*tiling_mode === I915_TILING_NONE)
|
||||
if (*tiling_mode == I915_TILING_NONE)
|
||||
stride = 0;
|
||||
|
||||
ret = drm_intel_gem_bo_set_tiling_internal(bo, *tiling_mode, stride);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue